26 lines
457 B
Go
Raw Normal View History

2024-05-24 19:41:44 +02:00
package config
import (
"github.com/urfave/cli/v2"
)
func Command() *cli.Command {
return &cli.Command{
Name: "config",
Usage: "manage config file",
Aliases: []string{"cf"},
Action: action,
Category: "\nManagement",
Subcommands: subcommands(),
HideHelpCommand: true,
}
}
func action(c *cli.Context) error {
err := cli.ShowSubcommandHelp(c)
if err != nil {
return err
}
return nil
}