forked from vmware-tanzu/tanzu-plugin-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update help text template to fix target usage (vmware-tanzu#94)
* Update help text template to fix target usage * Add two spaces for tanzu command * Convert the help template to go code Signed-off-by: Marc Khouzam <[email protected]> * testing the lint and tests * refactor the print help * refactor the indentation * Update check to HasPrefix from HasSuffix * Update tests to include global flags and fetch --help command * Update additional help topics section with tanzu and target prefix * Revert additional help topics targeted prefix * Deprecate CmdTemplate and introduce private cmdTemplate variable and update all usages * Fix sub command unit tests by executing plugin instead of command * Fix spacing in examples section and update tests --------- Signed-off-by: Marc Khouzam <[email protected]> Co-authored-by: Marc Khouzam <[email protected]>
- Loading branch information
1 parent
15f5bef
commit 3923e33
Showing
3 changed files
with
546 additions
and
7 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
Oops, something went wrong.