b9ca3b2039
Remove EvaluationContext::from_args ( #3604 )
2021-06-11 18:35:21 +12:00
8ac572ed27
Make arg eval lazy, remove old arg evaluation code ( #3603 )
...
* Remove old argument eval
* Merge main
* fmt
* clippy
* clippy
* clippy
2021-06-11 13:57:01 +12:00
383e874166
Fix a bunch of future clippy warnings ( #3586 )
...
* Fix a bunch of future clippy warnings
* Fix a bunch of future clippy warnings
2021-06-10 07:08:12 +12:00
751de20f93
Do a bit more cleanup of block params ( #3455 )
...
* Do a bit more cleanup of block params
* Do a bit more cleanup of block params
2021-05-21 19:04:27 +12:00
4fdbf30308
Paren interpolation ( #3452 )
...
* Switch interp to use parens
* improve interp parsing
2021-05-21 10:55:38 +12:00
20f6114617
Improve block params ( #3450 )
2021-05-20 16:26:54 +12:00
e2973d2176
Add explicit block params ( #3444 )
...
* Add explicit block params
* Add explicit block params
2021-05-19 20:23:45 +12:00
d79a3130b8
Make the default int an i64 ( #3428 )
...
* Make the default int an i64
* fmt
* Fix random integer
* Treat pids as i64 for now
2021-05-14 20:35:09 +12:00
0905a2c3a2
commands to engine p ( #3417 )
...
* commands to engine p
* Clippy suggestion
* Clippy suggestion
2021-05-13 07:07:20 +12:00
311c0e3f50
Simplify string interpolation ( #3401 )
...
* [DRAFT] simplify string interpolation
* Fix test
2021-05-12 13:53:57 +12:00
25a8caa9b0
Simplify expressions ( #3389 )
...
* WIP: experiment with simpler expressions
* fix simple invoke
* update tests
* fix a few tests
* Make paren parsing more robust
* fix external args
* Remove old invocation
* Update tests
* Update tests
2021-05-12 13:01:48 +12:00
91a929b2a9
Clippy fixes for new Rust version ( #3392 )
2021-05-07 07:58:21 +12:00
3ad4e0348f
Fix external redirect ( #3345 )
...
* Fix external redirection
* Fix external redirection
2021-04-22 08:54:34 +12:00
5f550a355b
Split OutputStream into ActionStream/OutputStream ( #3304 )
...
* Split OutputStream into ActionStream/OutputStream
* Fmt
* Missed update
* Cleanup helper names
* Fmt
2021-04-12 14:35:01 +12:00
09a1f5acb9
Begin migration away from arg serialization ( #3281 )
...
* initial implementation
* Move a few commands over to new arg system
* Fix char also
2021-04-08 20:15:36 +12:00
073e5727c6
Switch to "engine-p" ( #3270 )
...
* WIP
* WIP
* first builds
* Tests pass
2021-04-06 11:19:43 -05:00
5481db4079
Fix latest clippy warnings ( #3049 )
2021-02-12 23:13:14 +13:00
a5fefaf78b
Ensure selection of columns are done once per column ( #3012 )
2021-02-05 19:34:26 -05:00
d06f457b2a
nu-cli refactor moving commands into their own crate nu-command ( #2910 )
...
* move commands, futures.rs, script.rs, utils
* move over maybe_print_errors
* add nu_command crate references to nu_cli
* in commands.rs open up to pub mod from pub(crate)
* nu-cli, nu-command, and nu tests are now passing
* cargo fmt
* clean up nu-cli/src/prelude.rs
* code cleanup
* for some reason lex.rs was not formatted, may be causing my error
* remove mod completion from lib.rs which was not being used along with quickcheck macros
* add in allow unused imports
* comment out one failing external test; comment out one failing internal test
* revert commenting out failing tests; something else might be going on; someone with a windows machine should check and see what is going on with these failing windows tests
* Update Cargo.toml
Extend the optional features to nu-command
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com >
2021-01-12 17:59:53 +13:00