Skip to content

Commit

Permalink
Handle man page, bash completion and README generation
Browse files Browse the repository at this point in the history
We generate those using cobra handlers. Note that:
* we needed to fork the bash completion mechanism to include our fixes
  for hidden commands and file completion to match
  github.com/didrocks/cobra branch-for-completion branch.
  The goal is to fix the completion issues addressed in
  spf13/cobra#983 and file completion if no match
  was found.
  A detailed upstream bug is available at
  spf13/cobra#981.
* we post-process the markdown generation to skip SEE Also and other
  irrelevant sections and add subindentation.
  • Loading branch information
didrocks committed Oct 30, 2019
1 parent e672265 commit bb14241
Show file tree
Hide file tree
Showing 2 changed files with 808 additions and 0 deletions.

0 comments on commit bb14241

Please sign in to comment.