10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-09-27 20:11:25 +02:00
quantum_package/docs/source/users_guide/qp_plugins.rst

65 lines
1.3 KiB
ReStructuredText
Raw Normal View History

2018-12-25 18:59:11 +01:00
.. _qp_plugins:
==========
qp_plugins
==========
2019-01-05 01:51:21 +01:00
.. program:: qp_plugins
2018-12-25 18:59:11 +01:00
This command deals with all external plugings of |qp|. Plugin repositories can
be downloaded, and the plugins in these repositories can be
installed/uninstalled of created.
Usage
-----
.. code:: bash
qp_plugins list [ -i | -u | -q ]
qp_plugins download <url>
qp_plugins install <name>...
qp_plugins uninstall <name>
qp_plugins create -n <name> [-r <repository>] [<needed_modules>...]
.. option:: list
List all the available plugins.
.. option:: -i
2018-12-25 18:59:11 +01:00
List all the *installed* plugins.
.. option:: -u
2018-12-25 18:59:11 +01:00
List all the *uninstalled* plugins.
.. option:: -q
2018-12-25 18:59:11 +01:00
List all the downloaded repositories.
.. option:: download <url>
Download an external repository. The URL points to a tar.gz file or a
git repository, for example:
* http://example.com/site/example.tar.gz
* git@gitlab.com:user/example_repository
.. option:: install <plugin_name>
Install the plugin ``plugin_name``.
.. option:: uninstall <plugin_name>
Uninstall the plugin ``plugin_name``.
.. option:: -n <plugin_name>
2018-12-25 18:59:11 +01:00
Create a new plugin named ``plugin_name`` (in local repository by default).
2018-12-25 18:59:11 +01:00
.. option:: -r <repository>
2018-12-25 18:59:11 +01:00
Specify in which repository the new plugin will be created.
2018-12-25 18:59:11 +01:00