You've already forked ionscale
mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-04-05 12:32:58 +01:00
31 lines
614 B
Go
31 lines
614 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/muesli/coral"
|
|
)
|
|
|
|
func Command() *coral.Command {
|
|
rootCmd := rootCommand()
|
|
rootCmd.AddCommand(keyCommand())
|
|
rootCmd.AddCommand(derpMapCommand())
|
|
rootCmd.AddCommand(serverCommand())
|
|
rootCmd.AddCommand(versionCommand())
|
|
rootCmd.AddCommand(authMethodsCommand())
|
|
rootCmd.AddCommand(authFilterCommand())
|
|
rootCmd.AddCommand(tailnetCommand())
|
|
rootCmd.AddCommand(authkeysCommand())
|
|
rootCmd.AddCommand(machineCommands())
|
|
|
|
return rootCmd
|
|
}
|
|
|
|
func Execute() error {
|
|
return Command().Execute()
|
|
}
|
|
|
|
func rootCommand() *coral.Command {
|
|
return &coral.Command{
|
|
Use: "ionscale",
|
|
}
|
|
}
|