-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a forc plugins
command that lists all forc-*
plugins discovered on PATH
#1198
Labels
Comments
mitchmindtree
added a commit
that referenced
this issue
Apr 8, 2022
Closes #1198. Lists the full path to every `forc-*` plugin discovered under the user's `PATH`. For example: ```sh [mindtree@minddesk:~]$ forc plugins /home/mindtree/.cargo/bin/forc-fmt /home/mindtree/.cargo/bin/forc-explore /home/mindtree/.cargo/bin/forc-lsp ``` We could potentially add flags to this command in the future for: - only emitting executable names (not full paths) - printing versions and descriptions in a table - outputting via JSON or TOML for easier machine digestion. For now, this PR just aims to add initial support. The logic included in this should make it easier to include available plugin commands in a future `forc --list` command too (ala #702).
mitchmindtree
added a commit
that referenced
this issue
Apr 9, 2022
Closes #1198. Lists the full path to every `forc-*` plugin discovered under the user's `PATH`. For example: ```sh [mindtree@minddesk:~]$ forc plugins /home/mindtree/.cargo/bin/forc-fmt /home/mindtree/.cargo/bin/forc-explore /home/mindtree/.cargo/bin/forc-lsp ``` We could potentially add flags to this command in the future for: - only emitting executable names (not full paths) - printing versions and descriptions in a table - outputting via JSON or TOML for easier machine digestion. For now, this PR just aims to add initial support. The logic included in this should make it easier to include available plugin commands in a future `forc --list` command too (ala #702).
mitchmindtree
added a commit
that referenced
this issue
Apr 11, 2022
* Add a `forc plugins` command for listing all plugins Closes #1198. Lists the full path to every `forc-*` plugin discovered under the user's `PATH`. For example: ```sh [mindtree@minddesk:~]$ forc plugins /home/mindtree/.cargo/bin/forc-fmt /home/mindtree/.cargo/bin/forc-explore /home/mindtree/.cargo/bin/forc-lsp ``` We could potentially add flags to this command in the future for: - only emitting executable names (not full paths) - printing versions and descriptions in a table - outputting via JSON or TOML for easier machine digestion. For now, this PR just aims to add initial support. The logic included in this should make it easier to include available plugin commands in a future `forc --list` command too (ala #702). * Specify major.minor for forc's walkdir dependency
Repository owner
moved this from Todo
to Done
in Fuel Network
Apr 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This could be useful for:
The text was updated successfully, but these errors were encountered: