Skip to content
Myr

Merge pull request #1117 from sirosen/docs/tweak-quickstart

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Clarify Group invocation in quickstart

authored by David Lord · committed by GitHub · parents b93f6ec, 184d74f · Browse files · 1 file+6 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:docs/quickstart.rst+6 added
225 unmodified lines
226 @cli.command()227 def dropdb():228 click.echo('Dropped the database')229230You would then invoke the :class:`Group` in your setuptools entry points or231other invocations::232233 if __name__ == '__main__':234 cli()235236Adding Parameters237-----------------238239To add parameters, use the :func:`option` and :func:`argument` decorators:
43 unmodified lines