Skip to content
Snippets Groups Projects
Commit 6da364d0 authored by Tamer Tas's avatar Tamer Tas
Browse files

pkg/cmd/validate: include arguments in the cmd usage

parent e16f0e75
No related branches found
No related tags found
No related merge requests found
...@@ -15,8 +15,8 @@ var ( ...@@ -15,8 +15,8 @@ var (
// Validate contains the cli-command for validating templates. // Validate contains the cli-command for validating templates.
var Validate = &cli.Command{ var Validate = &cli.Command{
Use: "validate", Use: "validate <template-path>",
Short: "Validate a template", Short: "Validate a local project template",
Run: func(_ *cli.Command, args []string) { Run: func(_ *cli.Command, args []string) {
MustValidateArgs(args, []validate.Argument{ MustValidateArgs(args, []validate.Argument{
{"template-path", validate.UnixPath}, {"template-path", validate.UnixPath},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment