We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad95e8 commit 60304fcCopy full SHA for 60304fc
1 file changed
main.go
@@ -129,6 +129,19 @@ func main() {
129
// return nil
130
// },
131
Commands: []*cli.Command{
132
+ {
133
+ Name: "token",
134
+ Aliases: []string{"t"},
135
+ Usage: "Print the API token",
136
+ Action: func(cmdCtx context.Context, cmd *cli.Command) error {
137
+ token, err := utils.LoadToken()
138
+ if err != nil {
139
+ return fmt.Errorf("error loading token: %w", err)
140
+ }
141
+ fmt.Println(token)
142
+ return nil
143
+ },
144
145
{
146
Name: "notification",
147
Aliases: []string{"notify", "n"},
0 commit comments