Documentation
¶
Index ¶
Constants ¶
View Source
const BACKUP_FOLDER string = "./backup/"
View Source
const MAX_RETRY int = 3
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "manipulator", Short: "Manipulatpr is a CLI tool to help manage GwentAPI", Long: `Manipulator is a CLI tool to help manage GwentAPI This application is a tool to quickly perform maintenance operation on GwentAPI database and application.`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { if len(filePath) == 0 { return errors.New("Input file not provided") } if _, err := os.Stat(filePath); err != nil { return fmt.Errorf("Invalid file path: %s", filePath) } return nil }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.