Skip to content

Commit

Permalink
- [*] update wireframe template: add local option vars
Browse files Browse the repository at this point in the history
  • Loading branch information
suntong committed May 16, 2019
1 parent d7d1873 commit 7247e4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cli-ext.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ var root = &cli.Command{
// clis.Verbose(2, "<%s> -\n %+v\n %+v\n %v\n", ctx.Path(), rootArgv, argv, ctx.Args())
// {{range $.Options}}Opts.{{.Name}}, {{end}}Opts.Verbose =
// {{range $.Options}}rootArgv.{{.Name}}, {{end}}rootArgv.Verbose.Value()
// // {{range .Options}}argv.{{.Name}}, {{end}}
// //return nil
// return Do{{stringsTitle .Name}}()
// }
Expand Down
1 change: 1 addition & 0 deletions cli-std.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ var root = &cli.Command{
// clis.Verbose(2, "<%s> -\n %+v\n %+v\n %v\n", ctx.Path(), rootArgv, argv, ctx.Args())
// {{range $.Options}}Opts.{{.Name}}, {{end}}Opts.Verbose =
// {{range $.Options}}rootArgv.{{.Name}}, {{end}}rootArgv.Verbose.Value()
// // {{range .Options}}argv.{{.Name}}, {{end}}
// //return nil
// return Do{{stringsTitle .Name}}()
// }
Expand Down

0 comments on commit 7247e4d

Please sign in to comment.