forked from pnp/cli-microsoft365
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces zod validation. Closes pnp#5639
- Loading branch information
1 parent
10b9b79
commit 3c1893f
Showing
12 changed files
with
1,304 additions
and
1,171 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
export interface CommandOptionInfo { | ||
autocomplete: string[] | undefined; | ||
autocomplete?: string[]; | ||
long?: string; | ||
name: string; | ||
required: boolean; | ||
short?: string; | ||
// undefined as a temporary solution to avoid breaking changes | ||
// eventually it should be required | ||
type?: 'string' | 'boolean' | 'number'; | ||
} |
Oops, something went wrong.