refactor to decouple commands form entrypoint for reusability and centralizing commands.
Increase reusability and composition
This commit is contained in:
9
internal/commands/survey/start.go
Normal file
9
internal/commands/survey/start.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package surveyCmd
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
// StartCmd is the start command - RunE is set in cmd/survey/
|
||||
var StartCmd = &cobra.Command{
|
||||
Use: "start",
|
||||
Short: "Start the user survey",
|
||||
}
|
||||
Reference in New Issue
Block a user