shiori/internal/cmd/account-delete.go
2019-05-21 10:31:40 +07:00

17 lines
422 B
Go

package cmd
import "github.com/spf13/cobra"
func accountDeleteCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "delete [usernames]",
Short: "Delete the saved accounts",
Long: "Delete accounts. " +
"Accepts space-separated list of usernames. " +
"If no arguments, all records will be deleted.",
}
cmd.Flags().BoolP("yes", "y", false, "Skip confirmation prompt and delete ALL accounts")
return cmd
}