Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigureCmd = &cobra.Command{ Use: "configure", Short: "configures global settings for bsf", Long: ` `, Run: func(cmd *cobra.Command, args []string) { _, err := PreCheckConf() if err != nil { fmt.Println(styles.ErrorStyle.Render("error:", err.Error())) os.Exit(1) } }, }
ConfigureCmd represents the configure command
Functions ¶
func PreCheckConf ¶
PreCheckConf checks if the ~/.bsf.json file exists and if not creates it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.