-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cmd Validate):
Validate
func for validate
cmd
This commit adds a `Validate` function that validate's user input. It gets call after `Complete` fills in the arguments, but before `Run` uses those arguments. This commit also changes the verbage in the `validate` help section from 'data' to 'body' It also removes the `url` flag from the `validate` command. Passing the URL down to the `lib.Validate` function was removed in a previous commit. This ensure less user confusion about why `--url` isn't actually doing anything.
- Loading branch information
Showing
2 changed files
with
86 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters