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 new toolkit install
command with --features
support
#9288
add a new toolkit install
command with --features
support
#9288
Conversation
I think this is a good idea too. In fact, I was thinking that maybe all the nushell scripts in the scripts folder should be apart of toolkit. Thoughts? |
π₯³
... π i've thought about that exact same thing when we talked about the root refactoring π¬ my questions would just be
|
i'm fine with putting it in this PR or another. it's up to you. I'd also leave the nu scripts in place for backwards compatibility for a release or two. the other scripts should stay. |
@fdncred
π |
I think it looks good except for the one custom command rename I suggested. Thanks! |
thanks @fdncred for the review, let's wait for the CI and land this then π |
I was wanting to rebuild and install the plugins. I found |
No, there hasn't been. It's always been sh and ps1. |
i see π i think the way right now is to
can you tell me if that works? π |
If I'm reading your code correctly, this is what is happening.
What's missing is an install command that builds the plugins in release mode and installs them like |
i see π thanks for the details, i'll have a look π |
i do not have the time tonight so i've filed an issue for this π |
(#9357) # Description <!-- Thank you for improving Nushell. Please, check our [contributing guide](../CONTRIBUTING.md) and talk to the core team before making major changes. Description of your pull request goes here. **Provide examples and/or screenshots** if your changes affect the user experience. --> related to closes #9342 complete the install command to install plugins [ ](#9288) the issue toolkit build only builds in debug mode toolkit install only installs Nushell toolkit register plugins will install any plugins in the path, in debug or release # User-Facing Changes <!-- List of all changes that impact the user experience here. This helps us keep track of breaking changes. --> # Tests + Formatting <!-- Don't forget to add tests that cover your changes. Make sure you've run and fixed any issues with these commands: - `cargo fmt --all -- --check` to check standard code formatting (`cargo fmt --all` applies these changes) - `cargo clippy --workspace -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect -A clippy::result_large_err` to check that you're using the standard code style - `cargo test --workspace` to check that all tests pass - `cargo run -- crates/nu-std/tests/run.nu` to run the tests for the standard library > **Note** > from `nushell` you can also use the `toolkit` as follows > ```bash > use toolkit.nu # or use an `env_change` hook to activate it automatically > toolkit check pr > ``` --> # After Submitting <!-- If your PR had any user-facing changes, update [the documentation](https://github.com/nushell/nushell.github.io) after the PR is merged, if necessary. This will help us keep the docs up to date. --> --------- Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
Description
i was installing Nushell and, as we have the
dataframe
feature and very soon at least theextra
feature with more and more commands, i thought it could be cool to have a littletoolkit install
command πUser-Facing Changes
exposes the following command to developers
Tests + Formatting
toolkit fmt
toolkit clippy
toolkit test
toolkit test stdlib
After Submitting