whl2conda config
Usage
usage: whl2conda config [-h] [--generate-pyproject [<dir-or-toml>]]
[--update-std-renames [<file>]] [--set <key> <value>]
[--remove <key>] [--show [<key> ...] | --show-sources]
[-n]
whl2conda configuration
options
-h, --help
show this help message and exit
--generate-pyproject [<dir-or-toml>]
Add default whl2conda tool entries to a pyproject file.
If argument is a directory entries will be added to
`pyproject.toml` in that directory. If argument ends
with suffix '.toml', that file will be updated. If
the argument is omitted or set to `out` the generated entry
will be written to stdout. Other values will result in an error.
This will create file if it does not already exist.
It will not overwrite existing entires.
--update-std-renames [<file>]
Update list of standard pypi to conda renames from internet and exit.
If a <file> is not named, the default copy will be updated at
/Users/Christopher.Barber/Library/Caches/whl2conda/stdrename.json.
-n, --dry-run
Do not write any files.
User settings options
These options allow you to view or modify persistent user settings
that affect the behavior of whl2conda. Note that all of these options
treat key dash and underscore in key names as equivalent (e.g. you
may use either `conda-format` or `conda_format`).
--set <key> <value>
Sets configuration parameter specified by <key> to given <value>.
For dictionary attributes (e.g. pypi-indexes), the <key> should be
of the form `<key>.<entry>` to set a specific entry in the table, e.g.
whl2conda config --set pypi-indexes.acme https://acme.com/pypi
Note that it is not currently possible to assign to entire dictionary.
--remove <key>
Unset user setting with given key. To remove an entry from a dictionary
use a key for the form '<key>.<entry>', e.g.
whl2conda config --remove pypi-indexes.acme
--show [<key> ...]
Show user settings from local settings file. If any <key> is given,
then only the specified settings will be displayed, otherwise
all settings will be shown.
--show-sources
The same as --show with no arguments but also displays location
of settings file.