1
0
mirror of https://github.com/smallstep/cli.git synced 2025-07-31 08:24:22 +03:00
Files
step-ca-cli/command/api/api.go
2024-09-30 13:25:46 +02:00

26 lines
522 B
Go

package api
import (
"github.com/urfave/cli"
"github.com/smallstep/cli-utils/command"
"github.com/smallstep/cli/command/api/token"
)
func init() {
cmd := cli.Command{
Hidden: true,
Name: "api",
Usage: "authenticate to the Smallstep API",
UsageText: "**step api** <subcommand> [arguments] [global-flags] [subcommand-flags]",
Description: `**step api** provides commands for connecting to the Smallstep API.
`,
Subcommands: cli.Commands{
token.Command(),
},
}
command.Register(cmd)
}