Add config package basic funcs

This commit is contained in:
Miguel de la Cruz 2020-02-29 00:23:26 +01:00
parent ae13697461
commit 6bd0a99a32
3 changed files with 67 additions and 5 deletions

View file

@ -16,7 +16,7 @@ func RootCmd() *cobra.Command {
cmd.AddCommand(
TokenCmd(),
)
return cmd
}

View file

@ -6,21 +6,21 @@ import (
func TokenSetJiraCmd() *cobra.Command {
return &cobra.Command{
Use: "jira",
Use: "jira",
Short: "Sets the value of the jira token",
}
}
func TokenSetGithubCmd() *cobra.Command {
return &cobra.Command{
Use: "github",
Use: "github",
Short: "Sets the value of the github token",
}
}
func TokenSetCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "set",
Use: "set",
Short: "Sets the value of the platform tokens",
}
@ -34,7 +34,7 @@ func TokenSetCmd() *cobra.Command {
func TokenCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "token",
Use: "token",
Short: "Subcommands related to tokens",
}