nushell/crates/nu-command/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
..
commands Playground infraestructure (tests, etc) additions. (#3179) 2021-03-15 02:26:30 -05:00
examples Minimal markdown syntax per element support. (#2997) 2021-02-02 12:09:19 -05:00
utils Lines no longer treats a text buffer as a line (#3153) 2021-03-11 11:35:15 +13:00
commands.rs Playground infraestructure (tests, etc) additions. (#3179) 2021-03-15 02:26:30 -05:00
examples.rs refactor parser: rename method pub fn block to parse_block (#3047) 2021-02-13 09:31:11 +13:00
futures.rs nu-cli refactor moving commands into their own crate nu-command (#2910) 2021-01-12 17:59:53 +13:00
lib.rs Move script to nu engine (#3092) 2021-03-12 18:20:54 +13:00
prelude.rs Move script to nu engine (#3092) 2021-03-12 18:20:54 +13:00
utils.rs Ensure selection of columns are done once per column (#3012) 2021-02-05 19:34:26 -05:00