forked from vmware-tanzu/velero
-
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.
Add colors to describe command (vmware-tanzu#3275)
* Add colors to describe command * Add colors to describe backups/restore/schedules commands * Make name in the output bold * Disable colors via `--colorized` flag or if velero isn't in TTY Co-authored-by: Clay Kauzlaric <ckauzlaric@vmware.com> Signed-off-by: Clay Kauzlaric <ckauzlaric@vmware.com> Signed-off-by: Mikael Manukyan <mmanukyan@vmware.com> * Add changelog * and run make update Co-authored-by: Mikael Manukyan <mmanukyan@vmware.com> Signed-off-by: Mikael Manukyan <mmanukyan@vmware.com> Signed-off-by: Clay Kauzlaric <ckauzlaric@vmware.com> * Add colorized to the client config file Co-authored-by: Mikael Manukyan <mmanukyan@vmware.com> Signed-off-by: Clay Kauzlaric <ckauzlaric@vmware.com> Co-authored-by: Mikael Manukyan <mmanukyan@vmware.com> * allow client config to use string values * the command `velero client config set colorized=false` writes a string value of "false" into the config. This change allows that string to be accepted and converted into a boolean when used in program. Signed-off-by: Clay Kauzlaric <ckauzlaric@vmware.com> * Add docs about colored CLI output Co-authored-by: Mikael Manukyan <mmanukyan@vmware.com> Signed-off-by: Clay Kauzlaric <ckauzlaric@vmware.com> * Update site/content/docs/main/customize-installation.md Co-authored-by: JenTing Hsiao <jenting.hsiao@suse.com> Signed-off-by: Clay Kauzlaric <ckauzlaric@vmware.com> * docs: remove comma * as per @carlisia 's suggestion Signed-off-by: Clay Kauzlaric <ckauzlaric@vmware.com> Co-authored-by: Clay Kauzlaric <ckauzlaric@vmware.com> Co-authored-by: Clay Kauzlaric <clay.kauzlaric@gmail.com> Co-authored-by: JenTing Hsiao <jenting.hsiao@suse.com>
- Loading branch information
Showing
11 changed files
with
103 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add colored output to `describe schedule/backup/restore` commands |
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
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