Skip to content

Commit

Permalink
update click version
Browse files Browse the repository at this point in the history
click 7.1 introduces additional whitespace in verdi autodocs
  • Loading branch information
ltalirz committed Jan 26, 2021
1 parent 095d38c commit 6dc30d5
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 5 deletions.
31 changes: 31 additions & 0 deletions docs/source/reference/command_line.rst
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,11 @@ Below is a list with all available subcommands.
.aiida extension for these HTTP addresses. Automatically
discovered archive URLs will be downloaded and added to
ARCHIVES for importing
-G, --group GROUP Specify group to which all the import nodes will be
added. If such a group does not exist, it will be
created automatically.
-e, --extras-mode-existing [keep_existing|update_existing|mirror|none|ask]
Specify which extras from the export archive should be
imported for nodes that are already contained in the
Expand All @@ -336,20 +338,25 @@ Below is a list with all available subcommands.
of existing extras. mirror: import all extras and remove
any existing extras that are not present in the archive.
none: do not import any extras.
-n, --extras-mode-new [import|none]
Specify whether to import extras of new nodes: import:
import extras. none: do not import extras.
--comment-mode [newest|overwrite]
Specify the way to import Comments with identical UUIDs:
newest: Only the newest Comments (based on mtime)
(default).overwrite: Replace existing Comments with
those from the import file.
--migration / --no-migration Force migration of archive file archives, if needed.
[default: True]
-v, --verbosity [DEBUG|INFO|WARNING|CRITICAL]
Control the verbosity of console logging
-n, --non-interactive In non-interactive mode, the CLI never prompts but
simply uses default values for options that define one.
--help Show this message and exit.
Expand Down Expand Up @@ -460,10 +467,12 @@ Below is a list with all available subcommands.
Options:
-n, --non-interactive In non-interactive mode, the CLI never prompts but
simply uses default values for options that define one.
--profile PROFILE The name of the new profile. [required]
--email EMAIL Email address associated with the data you generate. The
email address is exported along with the data, when
sharing it. [required]
--first-name NONEMPTYSTRING First name of the user. [required]
--last-name NONEMPTYSTRING Last name of the user. [required]
--institution NONEMPTYSTRING Institution of the user. [required]
Expand All @@ -473,28 +482,34 @@ Below is a list with all available subcommands.
Database backend to use.
--db-host HOSTNAME Database server host. Leave empty for "peer"
authentication.
--db-port INTEGER Database server port.
--db-name NONEMPTYSTRING Name of the database to create.
--db-username NONEMPTYSTRING Name of the database user to create.
--db-password TEXT Password of the database user.
--su-db-name TEXT Name of the template database to connect to as the
database superuser.
--su-db-username TEXT User name of the database super user.
--su-db-password TEXT Password to connect as the database superuser.
--broker-protocol [amqp|amqps] Protocol to use for the message broker. [default: amqp]
--broker-username NONEMPTYSTRING
Username to use for authentication with the message
broker. [default: guest]
--broker-password NONEMPTYSTRING
Password to use for authentication with the message
broker. [default: guest]
--broker-host HOSTNAME Hostname for the message broker. [default: 127.0.0.1]
--broker-port INTEGER Port for the message broker. [default: 5672]
--broker-virtual-host TEXT Name of the virtual host for the message broker without
leading forward slash. [default: ]
--repository DIRECTORY Absolute path to the file repository.
--config FILEORURL Load option values from configuration file in yaml
format (local path or URL).
--help Show this message and exit.
Expand All @@ -515,6 +530,7 @@ Below is a list with all available subcommands.
Options:
-e, --entry-point PLUGIN Only include nodes that are class or sub class of the class
identified by this entry point.
-f, --force Do not ask for confirmation.
--help Show this message and exit.
Expand All @@ -540,6 +556,7 @@ Below is a list with all available subcommands.
-c, --config-dir PATH Path to the configuration directory
--wsgi-profile Whether to enable WSGI profiler middleware for finding
bottlenecks
--hookup / --no-hookup Hookup app to flask server
--help Show this message and exit.
Expand All @@ -561,13 +578,17 @@ Below is a list with all available subcommands.
Specify the prefix of the label of the auto group
(numbers might be automatically appended to generate
unique names per run).
-n, --group-name TEXT Specify the name of the auto group [DEPRECATED, USE
--auto-group-label-prefix instead]. This also enables
auto-grouping.
-e, --exclude TEXT Exclude these classes from auto grouping (use full
entrypoint strings).
-i, --include TEXT Include these classes from auto grouping (use full
entrypoint strings or "all").
--help Show this message and exit.
Expand All @@ -585,10 +606,12 @@ Below is a list with all available subcommands.
Options:
-n, --non-interactive In non-interactive mode, the CLI never prompts but
simply uses default values for options that define one.
--profile PROFILE The name of the new profile. [required]
--email EMAIL Email address associated with the data you generate. The
email address is exported along with the data, when
sharing it. [required]
--first-name NONEMPTYSTRING First name of the user. [required]
--last-name NONEMPTYSTRING Last name of the user. [required]
--institution NONEMPTYSTRING Institution of the user. [required]
Expand All @@ -598,26 +621,33 @@ Below is a list with all available subcommands.
Database backend to use.
--db-host HOSTNAME Database server host. Leave empty for "peer"
authentication.
--db-port INTEGER Database server port.
--db-name NONEMPTYSTRING Name of the database to create. [required]
--db-username NONEMPTYSTRING Name of the database user to create. [required]
--db-password TEXT Password of the database user. [required]
--broker-protocol [amqp|amqps] Protocol to use for the message broker. [default: amqp;
required]
--broker-username NONEMPTYSTRING
Username to use for authentication with the message
broker. [default: guest; required]
--broker-password NONEMPTYSTRING
Password to use for authentication with the message
broker. [default: guest; required]
--broker-host HOSTNAME Hostname for the message broker. [default: 127.0.0.1;
required]
--broker-port INTEGER Port for the message broker. [default: 5672; required]
--broker-virtual-host TEXT Name of the virtual host for the message broker without
leading forward slash. [default: ; required]
--repository DIRECTORY Absolute path to the file repository.
--config FILEORURL Load option values from configuration file in yaml
format (local path or URL).
--help Show this message and exit.
Expand All @@ -636,6 +666,7 @@ Below is a list with all available subcommands.
--plain Use a plain Python shell.
--no-startup When using plain Python, ignore the PYTHONSTARTUP
environment variable and ~/.pythonrc.py script.
-i, --interface [ipython|bpython]
Specify an interactive interpreter interface.
--help Show this message and exit.
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ dependencies:
- click-completion~=0.5.1
- click-config-file~=0.6.0
- click-spinner~=0.1.8
- click~=7.0
- click~=7.1
- dataclasses~=0.7
- django~=2.2
- ete3~=3.1
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-py-3.6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
circus==0.17.1
Click==7.0
Click==7.1.2
click-completion==0.5.2
click-config-file==0.6.0
click-spinner==0.1.8
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-py-3.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
circus==0.17.1
Click==7.0
Click==7.1.2
click-completion==0.5.2
click-config-file==0.6.0
click-spinner==0.1.8
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-py-3.8.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ certifi==2019.11.28
cffi==1.14.0
chardet==3.0.4
circus==0.17.1
Click==7.0
Click==7.1.2
click-completion==0.5.2
click-config-file==0.6.0
click-spinner==0.1.8
Expand Down
2 changes: 1 addition & 1 deletion setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"click-completion~=0.5.1",
"click-config-file~=0.6.0",
"click-spinner~=0.1.8",
"click~=7.0",
"click~=7.1",
"dataclasses~=0.7; python_version < '3.7.0'",
"django~=2.2",
"ete3~=3.1",
Expand Down

0 comments on commit 6dc30d5

Please sign in to comment.