click-man icon indicating copy to clipboard operation
click-man copied to clipboard

Automate generation of man pages for python click applications :star:

Results 20 click-man issues
Sort by recently updated
recently updated
newest added

The AttributeError I think is an issue with Click < 7.0. https://github.com/click-contrib/click-man/pull/33 should fix this. _Originally posted by @smarlowucf in https://github.com/click-contrib/click-man/issues/14#issuecomment-558689863_

Two changes. - Switch tests to pytest - Add GitHub Actions workflow, remove Travis Check the commit messages for more information.

I store generated man pages in git. While auto-generated files generally aren't stored in version control, there are some advantages to this, chief among them being ease of packaging. Unfortunately,...

cmd.params.append(option) cmd.callback = run_robot_job self.add_command(cmd, Path(cmd.name).stem) return super(ReservedCommand, self).parse_args(ctx, args)

All the examples assume –and some quick hacking suggests the code also assumes– that all projects use setuptools and are laid out with it in mind. My project uses GNU...

Typer is a CLI python package built on click, so it stands to reason that this project should work just fine with CLIs built with typer. Here's the output of...

When an option has hidden=True set, Option.get_help_record returns None. Simply filter these out to avoid a later failure when trying to unpack helptext. I wanted to add a test for...

Click allows you define options like so [[1]](https://click.palletsprojects.com/en/7.x/options/#feature-switches): ``` @click.option('--public/--private', default=False) ``` In this case, two mutually exclusive options will appear for the command, `--public` and `--private`. In the above...

The presence of a date in the generated manpage tripped me up when I was trying to package this for Debian: I ended up having to use a bit of...

Hi, We use such setup: ``` from setuptools import setup, find_packages setup( name='ap', version='1.0', packages=find_packages(), include_package_data=True, install_requires=[ 'Click' ], entry_points=''' [console_scripts] ap=main:cli ''' ) ``` with the dynamic sub-commands located...