mirror of
https://github.com/jsiebens/ionscale.git
synced 2026-03-31 15:07:49 +01:00
5ad89ff02f
Signed-off-by: Johan Siebens <johan.siebens@gmail.com>
27 lines
459 B
Go
27 lines
459 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/muesli/coral"
|
|
)
|
|
|
|
func Command() *coral.Command {
|
|
rootCmd := rootCommand()
|
|
rootCmd.AddCommand(serverCommand())
|
|
rootCmd.AddCommand(versionCommand())
|
|
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",
|
|
}
|
|
}
|