Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: filepath.Base(os.Args[0]), Short: "The Fabulous Laboratory", PersistentPreRun: func(_ *cobra.Command, _ []string) { if verbose { logrus.SetLevel(logrus.DebugLevel) } switch logFormatter { case "pfxlog": options := pfxlog.DefaultOptions().StartingToday() logrus.SetFormatter(pfxlog.NewFormatter(options)) case "json": logrus.SetFormatter(&logrus.JSONFormatter{}) case "text": logrus.SetFormatter(&logrus.TextFormatter{}) default: } }, }
Functions ¶
func NewCreateCommand ¶ added in v0.4.0
Types ¶
type CreateCommand ¶ added in v0.4.0
type ImportCommand ¶ added in v0.5.1
func NewImportCommand ¶ added in v0.5.1
func NewImportCommand() *ImportCommand
Source Files ¶
Click to show internal directories.
Click to hide internal directories.