Linux mobile app for tracking and managing parcels.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
356 B

package main
import (
"fmt"
"github.com/urfave/cli/v2"
)
var RefreshTokenCmd = &cli.Command{
Name: "refresh-token",
Category: "debugging commands",
Flags: []cli.Flag{},
Action: func(c *cli.Context) error {
err := doRefreshToken(c.Context)
if err != nil {
return fmt.Errorf("failed to refresh token: %v", err)
}
return nil
},
}