Documentation
¶
Index ¶
- func ConsumeChannel(params []string, spinner *yacspin.Spinner, resultChannel chan ResponseChannel) (fail error)
- func CreateSpinner(suffix string, message string) (spinner *yacspin.Spinner, fail error)
- func KillSpinner(spinner *yacspin.Spinner, ok bool) (fail error)
- func LexProject(defaultName string, projectPath string, interfaceToProject projectFunc) (project interface{}, fail error)
- func RunCmd(projectPath *string, message string, function toConsume) func(cmd *cobra.Command, params []string)
- func ValidPath(command string) func(*cobra.Command, []string) error
- func ValidateProjectPath(projectPath string) func(*cobra.Command, []string) error
- type ResponseChannel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsumeChannel ¶
func ConsumeChannel(params []string, spinner *yacspin.Spinner, resultChannel chan ResponseChannel) (fail error)
func CreateSpinner ¶
func LexProject ¶
func LexProject(defaultName string, projectPath string, interfaceToProject projectFunc) ( project interface{}, fail error)
LexProject just reads the given Succubus config file and checks it whether or not it's a valid one. It returns whether or not the config file is valid and any error encountered.
Types ¶
type ResponseChannel ¶
Click to show internal directories.
Click to hide internal directories.