You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This below was generated from, not sure why the rest is there? I think we use it to pass remaining args to the template, but where is the config? Did I put this in manually?
#CreateCommand: schema.#Command & {
Name: "create"
Usage: "create <module location>"
Short: "dynamic blueprints from any git repo"
Long: #CreateRootHelp
Args: [{
Name: "module"
Type: "string"
Required: false
Help: "git repository or directory with a creator, accepts subdirs on both"
}]
Run: func(cmd *cobra.Command, args []string) {
var err error
// Argument Parsing
var module string
if 0 < len(args) {
module = args[0]
}
err = CreateRun(module, args[1:])
if err != nil {
fmt.Println(err)
os.Exit(1)
}
},
The text was updated successfully, but these errors were encountered:
This below was generated from, not sure why the rest is there? I think we use it to pass remaining args to the template, but where is the config? Did I put this in manually?
The text was updated successfully, but these errors were encountered: