nushell/scripts
Antoine Stevan 15406a4247
add a new toolkit install command with --features support (#9288)
# Description
i was installing Nushell and, as we have the `dataframe` feature and
very soon at least the `extra` feature with more and more commands, i
thought it could be cool to have a little `toolkit install` command
😋

# User-Facing Changes
exposes the following command to developers
```
install Nushell and features you want

Usage:
  > install ...(features) 

Flags:
  -h, --help - Display the help message for this command

Parameters:
  ...features <string>: a space-separated list of feature to install with Nushell
```

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
-  `toolkit test`
-  `toolkit test stdlib`

# After Submitting
```
$nothing
```
2023-05-26 11:22:34 +02:00
..
build-all-maclin.sh REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00
build-all-windows.cmd REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00
build-all.nu add a new toolkit install command with --features support (#9288) 2023-05-26 11:22:34 +02:00
build.rs REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00
coverage-local.nu add a new toolkit install command with --features support (#9288) 2023-05-26 11:22:34 +02:00
coverage-local.sh REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00
install-all.ps1 REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00
install-all.sh REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00
README.md REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00
register-plugins.nu add a new toolkit install command with --features support (#9288) 2023-05-26 11:22:34 +02:00
uninstall-all.sh REFACTOR: clean the root of the repo (#9231) 2023-05-20 07:57:51 -05:00

run the scripts

Note


the following table must be read as follows:

  • an x means it works
  • a ? means no data available

.nu scripts must be run as nu .../foo.nu
.sh scripts must be run as ./.../foo.sh
.ps1 scripts must be run as powershell .../foo.ps1

let's say a script is called foo

  • an x in the ./scripts column means foo can be run from ./scripts
  • an x in the root column means foo can be run from the root of nushell
  • an x in the anywhere column means foo can be run from anywhere!
script ./scripts/ root anywhere
build-all-maclin.sh x x x
build-all-windows.cmd ? x ?
build-all.nu x x x
coverage-local.nu x x x
coverage-local.sh x x x
install-all.ps1 ? x ?
install-all.sh x x x
register-plugins.nu x x x
uninstall-all.sh x x x