-
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.
BREAKING CHANGE(cliutils): ensure lazy help rendering (#15)
For ordinary commands, help rendering seems already lazy because we explicitly need to invoke the Help method. Conversely, for NewCommandWithSubCommands the help is passed as a string, which means markdown rendering happens unconditionally. This has negative implications including generation of garbled output including terminal escape sequences when we put a process in background using the shell. To fix, make help rendering lazy also for NewCommandWithSubCommands.
- Loading branch information
1 parent
1dffef2
commit ddd54c6
Showing
2 changed files
with
25 additions
and
8 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