Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: sopel-plugins (basic version) #1588

Merged
merged 17 commits into from
Jul 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/source/cli.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
=======================
Command Line Interfaces
=======================

Expand All @@ -15,6 +16,13 @@ to, and channels to join. By default, it creates the file
Once this is done, the ``start`` subcommand runs the bot, using this
configuration file unless one is provided using the ``-c``/``--config`` option.

.. contents::
:local:
:depth: 1


The ``sopel`` command
=====================

.. autoprogram:: sopel.cli.run:build_parser()
:prog: sopel
Expand All @@ -35,3 +43,27 @@ configuration file unless one is provided using the ``-c``/``--config`` option.
.. autoprogram:: sopel.cli.run:build_parser()
:prog: sopel
:start_command: configure


The ``sopel-config`` command
============================

.. versionadded:: 7.0

The command ``sopel-config`` and its subcommands have been added in
Sopel 7.0.

.. autoprogram:: sopel.cli.config:build_parser()
:prog: sopel-config


The ``sopel-plugins`` command
=============================

.. versionadded:: 7.0

The command ``sopel-plugins`` and its subcommands have been added in
Sopel 7.0.

.. autoprogram:: sopel.cli.plugins:build_parser()
:prog: sopel-plugins
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def read_reqs(path):
'console_scripts': [
'sopel = sopel.cli.run:main',
'sopel-config = sopel.cli.config:main',
dgw marked this conversation as resolved.
Show resolved Hide resolved
'sopel-plugins = sopel.cli.plugins:main',
],
},
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4',
Expand Down
Loading