Add config package basic funcs
This commit is contained in:
parent
ae13697461
commit
6bd0a99a32
3 changed files with 67 additions and 5 deletions
|
@ -16,7 +16,7 @@ func RootCmd() *cobra.Command {
|
|||
cmd.AddCommand(
|
||||
TokenCmd(),
|
||||
)
|
||||
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue