You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-07-31 08:24:22 +03:00
26 lines
522 B
Go
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)
|
|
}
|