From 1a4d53ea51365d1902ca478d0a42fcb854783d45 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Sun, 4 Feb 2024 04:41:31 +0000 Subject: [PATCH 1/3] feature: Use env `PDM_NO_EDITABLE` as the default value for `--no-editable` option. --- src/pdm/cli/options.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pdm/cli/options.py b/src/pdm/cli/options.py index b334b88850..6648268a9f 100644 --- a/src/pdm/cli/options.py +++ b/src/pdm/cli/options.py @@ -184,8 +184,9 @@ def pep582_option( install_group.add_argument( "--no-editable", action="store_true", + default=bool(os.getenv("PDM_NO_EDITABLE")), dest="no_editable", - help="Install non-editable versions for all packages", + help="Install non-editable versions for all packages. [env var: PDM_NO_EDITABLE]", ) install_group.add_argument( "--no-self", From 15fdff56f1a32534388b39121ca02a3351f0a76d Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Sun, 4 Feb 2024 04:46:33 +0000 Subject: [PATCH 2/3] Add news. --- news/2613.feature.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/2613.feature.md diff --git a/news/2613.feature.md b/news/2613.feature.md new file mode 100644 index 0000000000..94e9357fd9 --- /dev/null +++ b/news/2613.feature.md @@ -0,0 +1 @@ +Use env PDM_NO_EDITABLE as the default value for --no-editable option. \ No newline at end of file From 67939d387472eb4742d03c034dad7668db2416b0 Mon Sep 17 00:00:00 2001 From: Xuan Hu Date: Sun, 4 Feb 2024 04:47:41 +0000 Subject: [PATCH 3/3] Update completion. --- src/pdm/cli/completions/pdm.bash | 4 +- src/pdm/cli/completions/pdm.fish | 74 ++++++++++++++++---------------- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/src/pdm/cli/completions/pdm.bash b/src/pdm/cli/completions/pdm.bash index dfc2e07275..dd0bd33b2b 100644 --- a/src/pdm/cli/completions/pdm.bash +++ b/src/pdm/cli/completions/pdm.bash @@ -1,7 +1,7 @@ # BASH completion script for pdm # Generated by pycomplete 0.4.0 -_pdm_a919b69078acdf0a_complete() +_pdm_41ba8a56174f8367_complete() { local cur script coms opts com COMPREPLY=() @@ -143,4 +143,4 @@ _pdm_a919b69078acdf0a_complete() fi } -complete -o default -F _pdm_a919b69078acdf0a_complete pdm +complete -o default -F _pdm_41ba8a56174f8367_complete pdm diff --git a/src/pdm/cli/completions/pdm.fish b/src/pdm/cli/completions/pdm.fish index 9e22a0dca6..24a75002be 100644 --- a/src/pdm/cli/completions/pdm.fish +++ b/src/pdm/cli/completions/pdm.fish @@ -1,7 +1,7 @@ # FISH completion script for pdm # Generated by pycomplete 0.4.0 -function __fish_pdm_a919b69078acdf0a_complete_no_subcommand +function __fish_pdm_41ba8a56174f8367_complete_no_subcommand for i in (commandline -opc) if contains -- $i add build cache completion config export fix import info init install list lock plugin publish remove run search self show sync update use venv return 1 @@ -11,17 +11,17 @@ function __fish_pdm_a919b69078acdf0a_complete_no_subcommand end # global options -complete -c pdm -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -l config -d 'Specify another config file path [env var: PDM_CONFIG_FILE] ' -complete -c pdm -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -l help -d 'Show this help message and exit.' -complete -c pdm -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -l ignore-python -d 'Ignore the Python path saved in .pdm-python. [env var: PDM_IGNORE_SAVED_PYTHON]' -complete -c pdm -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -l pep582 -d 'Print the command line to be eval\'d by the shell' -complete -c pdm -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -l quiet -d 'Suppress output' -complete -c pdm -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' -complete -c pdm -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -l version -d 'Show the version and exit' +complete -c pdm -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -l config -d 'Specify another config file path [env var: PDM_CONFIG_FILE] ' +complete -c pdm -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -l help -d 'Show this help message and exit.' +complete -c pdm -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -l ignore-python -d 'Ignore the Python path saved in .pdm-python. [env var: PDM_IGNORE_SAVED_PYTHON]' +complete -c pdm -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -l pep582 -d 'Print the command line to be eval\'d by the shell' +complete -c pdm -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -l quiet -d 'Suppress output' +complete -c pdm -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' +complete -c pdm -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -l version -d 'Show the version and exit' # commands # add -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a add -d 'Add package(s) to pyproject.toml and install them' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a add -d 'Add package(s) to pyproject.toml and install them' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l dev -d 'Add packages into dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l dry-run -d 'Show the difference only and don\'t perform any action' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l editable -d 'Specify editable packages' @@ -31,7 +31,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from add' -l global -d 'Use the gl complete -c pdm -A -n '__fish_seen_subcommand_from add' -l group -d 'Specify the target dependency group to add into' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l lockfile -d 'Specify another lockfile path. Default: pdm.lock. [env var: PDM_LOCKFILE]' -complete -c pdm -A -n '__fish_seen_subcommand_from add' -l no-editable -d 'Install non-editable versions for all packages' +complete -c pdm -A -n '__fish_seen_subcommand_from add' -l no-editable -d 'Install non-editable versions for all packages. [env var: PDM_NO_EDITABLE]' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l no-isolation -d 'Disable isolation when building a source distribution that follows PEP 517, as in: build dependencies specified by PEP 518 must be already installed if this option is used.' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l no-self -d 'Don\'t install the project itself. [env var: PDM_NO_SELF]' complete -c pdm -A -n '__fish_seen_subcommand_from add' -l no-sync -d 'Only write pyproject.toml and do not sync the working set' @@ -53,7 +53,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from add' -l venv -d 'Run the comm complete -c pdm -A -n '__fish_seen_subcommand_from add' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # build -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a build -d 'Build artifacts for distribution' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a build -d 'Build artifacts for distribution' complete -c pdm -A -n '__fish_seen_subcommand_from build' -l config-setting -d 'Pass options to the backend. options with a value must be specified after "=": `--config-setting=--opt(=value)` or `-C--opt(=value)`' complete -c pdm -A -n '__fish_seen_subcommand_from build' -l dest -d 'Target directory to put artifacts' complete -c pdm -A -n '__fish_seen_subcommand_from build' -l help -d 'Show this help message and exit.' @@ -67,7 +67,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from build' -l skip -d 'Skip some complete -c pdm -A -n '__fish_seen_subcommand_from build' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # cache -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a cache -d 'Control the caches of PDM' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a cache -d 'Control the caches of PDM' complete -c pdm -A -n '__fish_seen_subcommand_from cache' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from cache' -l quiet -d 'Suppress output' complete -c pdm -A -n '__fish_seen_subcommand_from cache' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' @@ -98,11 +98,11 @@ complete -c pdm -A -n '__fish_seen_subcommand_from cache; and __fish_seen_subcom complete -c pdm -A -n '__fish_seen_subcommand_from cache; and __fish_seen_subcommand_from remove' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # completion -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a completion -d 'Generate completion scripts for the given shell' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a completion -d 'Generate completion scripts for the given shell' complete -c pdm -A -n '__fish_seen_subcommand_from completion' -l help -d 'Show this help message and exit.' # config -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a config -d 'Display the current configuration' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a config -d 'Display the current configuration' complete -c pdm -A -n '__fish_seen_subcommand_from config' -l delete -d 'Unset a configuration key' complete -c pdm -A -n '__fish_seen_subcommand_from config' -l edit -d 'Edit the configuration file in the default editor(defined by EDITOR env var)' complete -c pdm -A -n '__fish_seen_subcommand_from config' -l global -d 'Use the global project, supply the project root with `-p` option' @@ -113,7 +113,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from config' -l quiet -d 'Suppress complete -c pdm -A -n '__fish_seen_subcommand_from config' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # export -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a export -d 'Export the locked packages set to other formats' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a export -d 'Export the locked packages set to other formats' complete -c pdm -A -n '__fish_seen_subcommand_from export' -l dev -d 'Select dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from export' -l editable-self -d 'Include the project itself as an editable dependency' complete -c pdm -A -n '__fish_seen_subcommand_from export' -l expandvars -d 'Expand environment variables in requirements' @@ -134,7 +134,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from export' -l verbose -d 'Use `- complete -c pdm -A -n '__fish_seen_subcommand_from export' -l without-hashes -d 'Don\'t include artifact hashes' # fix -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a fix -d 'Fix the project problems according to the latest version of PDM' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a fix -d 'Fix the project problems according to the latest version of PDM' complete -c pdm -A -n '__fish_seen_subcommand_from fix' -l dry-run -d 'Only show the problems' complete -c pdm -A -n '__fish_seen_subcommand_from fix' -l global -d 'Use the global project, supply the project root with `-p` option' complete -c pdm -A -n '__fish_seen_subcommand_from fix' -l help -d 'Show this help message and exit.' @@ -143,7 +143,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from fix' -l quiet -d 'Suppress ou complete -c pdm -A -n '__fish_seen_subcommand_from fix' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # import -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a import -d 'Import project metadata from other formats' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a import -d 'Import project metadata from other formats' complete -c pdm -A -n '__fish_seen_subcommand_from import' -l dev -d 'import packages into dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from import' -l format -d 'Specify the file format explicitly' complete -c pdm -A -n '__fish_seen_subcommand_from import' -l global -d 'Use the global project, supply the project root with `-p` option' @@ -154,7 +154,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from import' -l quiet -d 'Suppress complete -c pdm -A -n '__fish_seen_subcommand_from import' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # info -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a info -d 'Show the project information' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a info -d 'Show the project information' complete -c pdm -A -n '__fish_seen_subcommand_from info' -l env -d 'Show PEP 508 environment markers' complete -c pdm -A -n '__fish_seen_subcommand_from info' -l global -d 'Use the global project, supply the project root with `-p` option' complete -c pdm -A -n '__fish_seen_subcommand_from info' -l help -d 'Show this help message and exit.' @@ -168,7 +168,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from info' -l verbose -d 'Use `-v` complete -c pdm -A -n '__fish_seen_subcommand_from info' -l where -d 'Show the project root path' # init -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a init -d 'Initialize a pyproject.toml for PDM' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a init -d 'Initialize a pyproject.toml for PDM' complete -c pdm -A -n '__fish_seen_subcommand_from init' -l backend -d 'Specify the build backend, which implies --dist' complete -c pdm -A -n '__fish_seen_subcommand_from init' -l cookiecutter -d 'Use Cookiecutter to generate project [installed]' complete -c pdm -A -n '__fish_seen_subcommand_from init' -l copier -d 'Use Copier to generate project [installed]' @@ -184,7 +184,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from init' -l skip -d 'Skip some t complete -c pdm -A -n '__fish_seen_subcommand_from init' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # install -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a install -d 'Install dependencies from lock file' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a install -d 'Install dependencies from lock file' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l check -d 'Check if the lock file is up to date and fail otherwise' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l dev -d 'Select dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l dry-run -d 'Show the difference only and don\'t perform any action' @@ -195,7 +195,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from install' -l group -d 'Select complete -c pdm -A -n '__fish_seen_subcommand_from install' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l lockfile -d 'Specify another lockfile path. Default: pdm.lock. [env var: PDM_LOCKFILE]' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l no-default -d 'Don\'t include dependencies from the default group' -complete -c pdm -A -n '__fish_seen_subcommand_from install' -l no-editable -d 'Install non-editable versions for all packages' +complete -c pdm -A -n '__fish_seen_subcommand_from install' -l no-editable -d 'Install non-editable versions for all packages. [env var: PDM_NO_EDITABLE]' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l no-isolation -d 'Disable isolation when building a source distribution that follows PEP 517, as in: build dependencies specified by PEP 518 must be already installed if this option is used.' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l no-self -d 'Don\'t install the project itself. [env var: PDM_NO_SELF]' complete -c pdm -A -n '__fish_seen_subcommand_from install' -l plugins -d 'Install the plugins specified in pyproject.toml' @@ -207,7 +207,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from install' -l venv -d 'Run the complete -c pdm -A -n '__fish_seen_subcommand_from install' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # list -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a list -d 'List packages installed in the current working set' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a list -d 'List packages installed in the current working set' complete -c pdm -A -n '__fish_seen_subcommand_from list' -l csv -d 'Output dependencies in CSV document format' complete -c pdm -A -n '__fish_seen_subcommand_from list' -l exclude -d 'Exclude dependency groups from the output' complete -c pdm -A -n '__fish_seen_subcommand_from list' -l fields -d 'Select information to output as a comma separated string. All fields: groups,homepage,licenses,location,name,version.' @@ -227,7 +227,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from list' -l venv -d 'Run the com complete -c pdm -A -n '__fish_seen_subcommand_from list' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # lock -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a lock -d 'Resolve and lock dependencies' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a lock -d 'Resolve and lock dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from lock' -l check -d 'Check if the lock file is up to date and quit' complete -c pdm -A -n '__fish_seen_subcommand_from lock' -l dev -d 'Select dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from lock' -l global -d 'Use the global project, supply the project root with `-p` option' @@ -250,7 +250,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from lock' -l update-reuse-install complete -c pdm -A -n '__fish_seen_subcommand_from lock' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # plugin -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a plugin -d 'Manage the PDM program itself (previously known as plugin)' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a plugin -d 'Manage the PDM program itself (previously known as plugin)' complete -c pdm -A -n '__fish_seen_subcommand_from plugin' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from plugin' -l quiet -d 'Suppress output' complete -c pdm -A -n '__fish_seen_subcommand_from plugin' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' @@ -288,7 +288,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from plugin; and __fish_seen_subco complete -c pdm -A -n '__fish_seen_subcommand_from plugin; and __fish_seen_subcommand_from update' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # publish -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a publish -d 'Build and publish the project to PyPI' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a publish -d 'Build and publish the project to PyPI' complete -c pdm -A -n '__fish_seen_subcommand_from publish' -l ca-certs -d 'The path to a PEM-encoded Certificate Authority bundle to use for publish server validation [env var: PDM_PUBLISH_CA_CERTS]' complete -c pdm -A -n '__fish_seen_subcommand_from publish' -l comment -d 'The comment to include with the distribution file.' complete -c pdm -A -n '__fish_seen_subcommand_from publish' -l help -d 'Show this help message and exit.' @@ -306,7 +306,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from publish' -l username -d 'The complete -c pdm -A -n '__fish_seen_subcommand_from publish' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # remove -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a remove -d 'Remove packages from pyproject.toml' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a remove -d 'Remove packages from pyproject.toml' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l dev -d 'Remove packages from dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l dry-run -d 'Show the difference only and don\'t perform any action' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l fail-fast -d 'Abort on first installation error' @@ -315,7 +315,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l global -d 'Use the complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l group -d 'Specify the target dependency group to remove from' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l lockfile -d 'Specify another lockfile path. Default: pdm.lock. [env var: PDM_LOCKFILE]' -complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l no-editable -d 'Install non-editable versions for all packages' +complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l no-editable -d 'Install non-editable versions for all packages. [env var: PDM_NO_EDITABLE]' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l no-isolation -d 'Disable isolation when building a source distribution that follows PEP 517, as in: build dependencies specified by PEP 518 must be already installed if this option is used.' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l no-self -d 'Don\'t install the project itself. [env var: PDM_NO_SELF]' complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l no-sync -d 'Only write pyproject.toml and do not uninstall packages' @@ -326,7 +326,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l venv -d 'Run the c complete -c pdm -A -n '__fish_seen_subcommand_from remove' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # run -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a run -d 'Run commands or scripts with local packages loaded' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a run -d 'Run commands or scripts with local packages loaded' complete -c pdm -A -n '__fish_seen_subcommand_from run' -l global -d 'Use the global project, supply the project root with `-p` option' complete -c pdm -A -n '__fish_seen_subcommand_from run' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from run' -l json -d 'Output all scripts infos in JSON' @@ -339,13 +339,13 @@ complete -c pdm -A -n '__fish_seen_subcommand_from run' -l venv -d 'Run the comm complete -c pdm -A -n '__fish_seen_subcommand_from run' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # search -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a search -d 'Search for PyPI packages' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a search -d 'Search for PyPI packages' complete -c pdm -A -n '__fish_seen_subcommand_from search' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from search' -l quiet -d 'Suppress output' complete -c pdm -A -n '__fish_seen_subcommand_from search' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # self -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a self -d 'Manage the PDM program itself (previously known as plugin)' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a self -d 'Manage the PDM program itself (previously known as plugin)' complete -c pdm -A -n '__fish_seen_subcommand_from self' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from self' -l quiet -d 'Suppress output' complete -c pdm -A -n '__fish_seen_subcommand_from self' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' @@ -383,7 +383,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from self; and __fish_seen_subcomm complete -c pdm -A -n '__fish_seen_subcommand_from self; and __fish_seen_subcommand_from update' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # show -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a show -d 'Show the package information' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a show -d 'Show the package information' complete -c pdm -A -n '__fish_seen_subcommand_from show' -l global -d 'Use the global project, supply the project root with `-p` option' complete -c pdm -A -n '__fish_seen_subcommand_from show' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from show' -l keywords -d 'Show keywords' @@ -398,7 +398,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from show' -l verbose -d 'Use `-v` complete -c pdm -A -n '__fish_seen_subcommand_from show' -l version -d 'Show version' # sync -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a sync -d 'Synchronize the current working set with lock file' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a sync -d 'Synchronize the current working set with lock file' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l clean -d 'Clean packages not in the lockfile' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l dev -d 'Select dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l dry-run -d 'Show the difference only and don\'t perform any action' @@ -408,7 +408,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l group -d 'Select gro complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l lockfile -d 'Specify another lockfile path. Default: pdm.lock. [env var: PDM_LOCKFILE]' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l no-default -d 'Don\'t include dependencies from the default group' -complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l no-editable -d 'Install non-editable versions for all packages' +complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l no-editable -d 'Install non-editable versions for all packages. [env var: PDM_NO_EDITABLE]' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l no-isolation -d 'Disable isolation when building a source distribution that follows PEP 517, as in: build dependencies specified by PEP 518 must be already installed if this option is used.' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l no-self -d 'Don\'t install the project itself. [env var: PDM_NO_SELF]' complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l only-keep -d 'Only keep the selected packages' @@ -421,7 +421,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l venv -d 'Run the com complete -c pdm -A -n '__fish_seen_subcommand_from sync' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # update -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a update -d 'Update package(s) in pyproject.toml' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a update -d 'Update package(s) in pyproject.toml' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l dev -d 'Select dev dependencies' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l fail-fast -d 'Abort on first installation error' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l frozen-lockfile -d 'Don\'t try to create or update the lockfile. [env var: PDM_FROZEN_LOCKFILE]' @@ -430,7 +430,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from update' -l group -d 'Select g complete -c pdm -A -n '__fish_seen_subcommand_from update' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l lockfile -d 'Specify another lockfile path. Default: pdm.lock. [env var: PDM_LOCKFILE]' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l no-default -d 'Don\'t include dependencies from the default group' -complete -c pdm -A -n '__fish_seen_subcommand_from update' -l no-editable -d 'Install non-editable versions for all packages' +complete -c pdm -A -n '__fish_seen_subcommand_from update' -l no-editable -d 'Install non-editable versions for all packages. [env var: PDM_NO_EDITABLE]' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l no-isolation -d 'Disable isolation when building a source distribution that follows PEP 517, as in: build dependencies specified by PEP 518 must be already installed if this option is used.' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l no-self -d 'Don\'t install the project itself. [env var: PDM_NO_SELF]' complete -c pdm -A -n '__fish_seen_subcommand_from update' -l no-sync -d 'Only update lock file but do not sync packages' @@ -455,7 +455,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from update' -l venv -d 'Run the c complete -c pdm -A -n '__fish_seen_subcommand_from update' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # use -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a use -d 'Use the given python version or path as base interpreter' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a use -d 'Use the given python version or path as base interpreter' complete -c pdm -A -n '__fish_seen_subcommand_from use' -l first -d 'Select the first matched interpreter' complete -c pdm -A -n '__fish_seen_subcommand_from use' -l global -d 'Use the global project, supply the project root with `-p` option' complete -c pdm -A -n '__fish_seen_subcommand_from use' -l help -d 'Show this help message and exit.' @@ -467,7 +467,7 @@ complete -c pdm -A -n '__fish_seen_subcommand_from use' -l venv -d 'Use the inte complete -c pdm -A -n '__fish_seen_subcommand_from use' -l verbose -d 'Use `-v` for detailed output and `-vv` for more detailed' # venv -complete -c pdm -f -n '__fish_pdm_a919b69078acdf0a_complete_no_subcommand' -a venv -d 'Virtualenv management' +complete -c pdm -f -n '__fish_pdm_41ba8a56174f8367_complete_no_subcommand' -a venv -d 'Virtualenv management' complete -c pdm -A -n '__fish_seen_subcommand_from venv' -l help -d 'Show this help message and exit.' complete -c pdm -A -n '__fish_seen_subcommand_from venv' -l path -d 'Show the path to the given virtualenv' complete -c pdm -A -n '__fish_seen_subcommand_from venv' -l project -d 'Specify another path as the project root, which changes the base of pyproject.toml and __pypackages__ [env var: PDM_PROJECT]'