Jonathan Turner
6951fb440c
Remove it expansion ( #2701 )
...
* Remove it-expansion, take 2
* Cleanup
* silly update to test CI
2020-10-26 19:55:52 +13:00
Andrés N. Robalino
ae1d4bdb4c
Nushell internal commands. Anchor locations tracker surveying. ( #2635 )
2020-10-03 09:06:02 -05:00
Jonathan Turner
1882a32b83
Context cleanup ( #2581 )
...
* Specialize 'Context' to EvaluationContext and CompletionContext
* Specialize 'Context' to EvaluationContext and CompletionContext
* fmt
2020-09-20 09:29:51 +12:00
Bailey Layzer
a64270829e
Move alias type inference (experimental) behind --infer/-i flag ( #2418 )
...
* put alias type inference behind --infer/-i flag
* revert cargo.lock
2020-08-27 17:48:13 +12:00
Jonathan Turner
f078aacc25
Improve the error message if alias type inference fails ( #2399 )
...
* Improve the error message if alias type inference fails
* Improve error further
2020-08-25 06:38:24 +12:00
Bailey Layzer
ad395944ef
SyntaxShape checking in Alias ( #2377 )
...
* initial, working for shallow internals
* add recurion on Block
* clean up/abstract, Invocations
* use Result
* inspection of Binary, tests
* improve code structure
* move arg shape inspection to Alias command
* add spanned errors, tests, cleanup for PR
* fix test, clippy
2020-08-20 15:18:55 +12:00
Jonathan Turner
738541f727
Move nu-data out of nu-cli ( #2369 )
...
* WIP for moving nu-data out
* Refactor nu-data out of nu-cli
* Remove unwraps
* Remove unwraps
2020-08-18 19:00:02 +12:00
Jonathan Turner
935a5f6b9e
Another batch of removing async_stream ( #1970 )
2020-06-12 20:34:41 +12:00
Jonathan Turner
360e8340d1
Move run to be async ( #1913 )
2020-05-29 20:22:52 +12:00
Elton Leander Pinto
8dc5c34932
Save alias ( #1852 )
...
* figuring out error with lines
* make progress in printing of block
* support for external commands; fix some tiny bugs in formatting
* basic printing of block; going to experiment with bubbling raw input to the command itself to avoid potential edge cases
* remove fmt::Display impls for hir structs; bubbled raw_input to command args
* compiling checkpoint :)
* process raw input alias to remove save flag; do duplicates stored
* fix warnings; run clippy
* removed tmux log file
* fix bug in looking for same alias; changed unwraps to safe unwraps
2020-05-21 05:31:04 +12:00
Jason Gedge
acf13a6fcf
Add (near) automatic testing for command examples ( #1777 )
2020-05-18 08:56:01 -04:00
Jonathan Turner
076fde16dd
Evaluation of command arguments ( #1801 )
...
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* WIP
* Finish adding the baseline refactors for argument invocation
* Finish cleanup and add test
* Add missing plugin references
2020-05-16 15:18:24 +12:00
Jonathan Turner
8b9a8daa1d
Add a batch of help examples ( #1755 )
2020-05-12 13:00:55 +12:00
Jonathan Turner
c5ea4a31bd
Adding coloring to help examples ( #1754 )
2020-05-12 11:06:40 +12:00
Elichai Turkel
c3a066eeb4
Add examples to commands ( #1752 )
...
* Pass &dyn WholeStreamCommand to get_help
* Add an optional example to the WholeStreamCommand trait
* Add an example to the alias command
2020-05-12 08:05:44 +12:00
chrisr
55374ee54f
Fix help text for alias command. ( #1742 )
...
* Fix help text for alias command.
* Rust fmt
2020-05-09 12:16:14 -05:00
Jonathan Turner
8bd3cedce1
It expansion ( #1668 )
...
* First step in it-expansion
* Fix tests
* fix clippy warnings
2020-04-27 14:04:54 +12:00
Jonathan Turner
bd5836e25d
Aliases ( #1589 )
...
* WIP getting scopes right
* finish adding initial support
* Finish with alias and add startup commands
2020-04-15 17:43:23 +12:00