nushell/crates/nu-cli/src
Andrés N. Robalino d2213d18fa
Playground infraestructure (tests, etc) additions. (#3179)
* Playground infraestructure (tests, etc) additions.

A few things to note:

* Nu can be started with a custom configuration file (`nu --config-file /path/to/sample_config.toml`). Useful for mocking the configuration on test runs.
* When given a custom configuration file Nu will save any changes to the file supplied appropiately.
* The `$nu.config-path` variable either shows the default configuration file (or the custom one, if given)
* We can now run end to end tests with finer grained control (currently, since this is baseline work, standard out) This will allow to check things like exit status, assert the contents with a format, etc)

* Remove (for another PR)
2021-03-15 02:26:30 -05:00
..
completion refactor parser: rename method pub fn block to parse_block (#3047) 2021-02-13 09:31:11 +13:00
env Keep the environment properly set. (#3072) 2021-02-18 15:56:14 +13:00
shell imp: bump rustyline to 8.0.0 (#3167) 2021-03-14 15:13:31 +13:00
types Fix latest clippy warnings (#3049) 2021-02-12 23:13:14 +13:00
cli.rs Playground infraestructure (tests, etc) additions. (#3179) 2021-03-15 02:26:30 -05:00
env.rs nu_cli refactor in preparation for a crate called nu_command (#2907) 2021-01-11 17:58:15 +13:00
format.rs Nu table (#2015) 2020-06-20 15:41:53 +12:00
keybinding.rs imp: bump rustyline to 8.0.0 (#3167) 2021-03-14 15:13:31 +13:00
lib.rs Playground infraestructure (tests, etc) additions. (#3179) 2021-03-15 02:26:30 -05:00
line_editor.rs imp: bump rustyline to 8.0.0 (#3167) 2021-03-14 15:13:31 +13:00
prelude.rs Fix latest clippy warnings (#3049) 2021-02-12 23:13:14 +13:00
shell.rs Split nu-cli into nu-cli/nu-engine (#2898) 2021-01-10 15:50:49 +13:00
types.rs Change alias shape inference to proposal of RFC#4 (#2685) 2020-10-29 06:49:38 +13:00