package
Version:
v0.8.2
Opens a new window with list of versions in this module.
Published: Aug 22, 2021
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
CheckErr will print error message to stderr and exit with code 1
func CheckProject(projectName string)
CheckProject will check project name is not empty
Contains will check if a string is present in a slice ignoring case
Execute adds all child commands to the root command and sets flags appropriately.
LongUsage is helper for print long usage
SaveConfig will save config and reload to config
type Config struct {
WorkDir string `yaml:"workdir"`
CurrentProject string `yaml:"currentproject"`
}
Config store settings
Source Files
¶
Click to show internal directories.
Click to hide internal directories.