title: Automatically generate all help documentation for Click commands
body: <p>Is there a way to generate (and export) help documentation using click for all commands and subcommands?</p>
  
  <p>For example,</p>
  
  <p><code>cli --help all --destination help-docs.txt</code> </p>
  
  <p>would generate help for commands and subcommands following the </p>
  
  <p><code>cli command subcommand</code> </p>
  
  <p>format and put them into the <code>help-docs.txt</code> file.</p>
  
  <p>The only way I can think that I would accomplish this is to use</p>
  
  <p><code>cli command subcommand --help</code> </p>
  
  <p>on every subcommand that I wanted to generate help for and <code>cat</code> the output to a file, but it would be nice if there where an easier way to accomplish this using Click <code>--help</code> functionality.</p>