Skip to content

fix: version and completions cmd in non cargo directory#99

Merged
sourcefrog merged 1 commit intosourcefrog:mainfrom
yining:version-in-non-cargo-src-tree
Nov 10, 2022
Merged

fix: version and completions cmd in non cargo directory#99
sourcefrog merged 1 commit intosourcefrog:mainfrom
yining:version-in-non-cargo-src-tree

Conversation

@yining
Copy link
Contributor

@yining yining commented Nov 10, 2022

Sometimes version and completions subcommands are to run in a directory that is not necessarily a Cargo project, for example, an IDE plugin to check if cargo-mutants is installed or a shell script to install completion for a dev env setup.

This commit allows both subcommands run inside a non Cargo project directory.

Sometimes `version` and `completions` subcommands are to run in a
directory that is not necessarily a Cargo project, for example, an IDE
plugin to check if `cargo-mutants` is installed or a shell script to
install completion for a dev env setup.

This commit allows both subcommands run inside a non Cargo project
directory.
@yining yining force-pushed the version-in-non-cargo-src-tree branch from 8a7770c to f500868 Compare November 10, 2022 20:07
@sourcefrog
Copy link
Owner

Thanks!

@sourcefrog sourcefrog merged commit 13cb7b7 into sourcefrog:main Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants