Odin Dutton
9951691023
Use NthArgs to better convert to an integer
...
Using i64 as u64 deserialize isn't implemented yet.
2019-08-20 13:12:31 +10:00
Odin Dutton
82a315f06a
Make cd argument optional
...
`cd` with no arugments changes directory to $HOME.
2019-08-20 13:11:29 +10:00
Odin Dutton
56c04ff5b6
Remove unneeded TODOs
...
These commands have been confirmed to have no arguments.
2019-08-20 13:11:01 +10:00
Jonathan Turner
154a45bbd6
Merge pull request #313 from jonathandturner/fix_shell_ring
...
Fix shell-ring to rotate as expected
2019-08-20 05:04:44 +12:00
Jonathan Turner
e5b410aded
Merge pull request #315 from twe4ked/fix-warnings
...
Fix warnings
2019-08-20 04:43:50 +12:00
Jonathan Turner
51ec48f357
Update enter test
2019-08-20 04:40:47 +12:00
Odin Dutton
b5b8e4c8b0
Fix warnings
2019-08-19 19:59:41 +10:00
Jonathan Turner
953d28ef74
Fix push/pop for shell manager
2019-08-19 20:07:55 +12:00
Jonathan Turner
fef447a659
Fix shell-ring to rotate as expected
2019-08-19 19:29:27 +12:00
Odin Dutton
d71206ed9e
Implement WholeStreamCommand for all remaining commands
2019-08-19 15:16:39 +10:00
Jonathan Turner
095f4645c0
Merge pull request #307 from androbtech/qwrapport
...
Refactoring and unwrap cleanup beginnings.
2019-08-19 14:06:43 +12:00
Jonathan Turner
7b2b671b1e
Merge pull request #309 from twe4ked/version-command
...
Introduce version command
2019-08-19 14:06:04 +12:00
Odin Dutton
4de6c941e1
Introduce version command
2019-08-19 11:30:29 +10:00
Andrés N. Robalino
5dd20850b5
Refactoring and unwrap cleanup beginnings.
2019-08-18 20:28:55 -05:00
Jonathan Turner
e727f61d1d
Merge pull request #308 from twe4ked/date-signature-typo
...
Fix typo in date command signature
2019-08-19 13:11:03 +12:00
Odin Dutton
b5db24f9ad
Fix typo in date command signature
2019-08-19 10:55:28 +10:00
Jonathan Turner
81d83d7655
Update README.md
2019-08-18 15:27:03 +12:00
Jonathan Turner
ebf7250383
Merge pull request #299 from nushell/improve-question-mark
...
Reduce unwraps
2019-08-17 16:08:59 +12:00
Yehuda Katz
5bfb96447a
Reduce unwraps
...
Remove a number of unwraps. In some cases, a `?` just worked as is. I also made it possible to use `?` to go from Result<OutputStream, ShellError> to OutputStream. Finally, started updating PerItemCommand to be able to use the signature deserialization logic, which substantially reduces unwraps.
This is still in-progress work, but tests pass and it should be clear to merge and keep iterating on master.
2019-08-16 20:53:39 -07:00
Jonathan Turner
37000c7c31
Merge pull request #297 from jonathandturner/table_constraint_solve
...
Switch to constraint solving the table
2019-08-17 08:21:29 +12:00
Jonathan Turner
ec7d159c83
Switch to constraint solving the table
2019-08-17 08:03:29 +12:00
Jonathan Turner
0db77c911d
Merge pull request #296 from jonathandturner/polish_on_wrap
...
Add more polish to table wrap
2019-08-17 04:51:28 +12:00
Jonathan Turner
8a66a000e4
Add more polish to table wrap
2019-08-17 04:32:35 +12:00
Jonathan Turner
7dbaf150d2
Merge pull request #295 from jonathandturner/table_cell_wrap
...
Wrap table cells as needed
2019-08-16 18:17:08 +12:00
Jonathan Turner
ffd60bb3af
Remove stray println
2019-08-16 17:56:23 +12:00
Jonathan Turner
eb6e24c220
Wrap table cells as needed
2019-08-16 17:47:47 +12:00
Jonathan Turner
3b0c9ebf28
Merge pull request #292 from nushell/external-escape-valve
...
Add support for external escape valve (`^dir`)
2019-08-16 12:42:10 +12:00
Yehuda Katz
0dc4b2b686
Add support for external escape valve (^dir
)
...
This commit makes it possible to force nu to treat a command as an external command by prefixing it with `^`. For example `^dir` will force `dir` to run an external command, even if `dir` is also a registered nu command.
This ensures that users don't need to leave nu just because we happened to use a command they need.
This commit adds a new token type for external commands, which, among other things, makes it pretty straight forward to syntax highlight external commands uniquely, and generally to treat them as special.
2019-08-15 15:18:18 -07:00
Jonathan Turner
bb580a46d6
Merge pull request #289 from nushell/revert-283-heuristic_table
...
Revert "Heuristic table view"
2019-08-16 05:05:32 +12:00
Jonathan Turner
785536983a
Revert "Heuristic table view"
2019-08-16 04:49:07 +12:00
Jonathan Turner
0d09f6ab7f
Merge pull request #288 from androbtech/shellring-coverage
...
shellring traversal and filesystem environment retention per session.
2019-08-15 19:27:43 +12:00
Andrés N. Robalino
024f0915a3
Shellring traversal and filesystem environment retention per session confirmed.
2019-08-15 02:10:33 -05:00
Jonathan Turner
7bb62af46f
Merge pull request #287 from jonathandturner/more_per_item
...
Add more support for per-item
2019-08-15 18:53:20 +12:00
Jonathan Turner
efd9631a90
All tests pass
2019-08-15 17:46:19 +12:00
Jonathan Turner
dd18122a24
WIP
2019-08-15 17:02:02 +12:00
Jonathan Turner
d11d840f0f
Merge pull request #286 from androbtech/mv-and-bitsmoar
...
Moving file/dir in place and some refactored a little.
2019-08-15 13:37:10 +12:00
Andrés N. Robalino
cbf6eed2d7
Communicates unsupported feature the case where directories are found in globs whether we cp or mv
2019-08-14 17:00:11 -05:00
Andrés N. Robalino
75e3c6f547
copies_expected -> expected. Use expected as test dirname expectation outcomes from now on.
2019-08-14 16:05:35 -05:00
Andrés N. Robalino
121237ee4b
Reverted test removal from ( dfcbaed
)
2019-08-14 15:55:26 -05:00
Andrés N. Robalino
154063013f
mv introduced. \¡Viva\!
2019-08-14 15:29:05 -05:00
Andrés N. Robalino
dfcbaed1c6
More descriptive test playground names for commands other than the basic ones.
2019-08-14 15:29:05 -05:00
Andrés N. Robalino
bd71773b5b
Extracted File traversal utility for use in other commands.
2019-08-14 15:29:05 -05:00
Andrés N. Robalino
278de0e517
cp refactoring.
2019-08-14 15:29:05 -05:00
Jonathan Turner
0b9248cbba
Merge pull request #285 from jonathandturner/per_item
...
Add first per-item commands
2019-08-15 05:57:19 +12:00
Jonathan Turner
99b881e42f
Add first per-item commands
2019-08-15 05:02:39 +12:00
Jonathan Turner
79fd635b5f
Merge pull request #283 from jonathandturner/heuristic_table
...
Heuristic table view
2019-08-14 04:58:39 +12:00
Jonathan Turner
156e72f694
Finish up heuristic for table printing
2019-08-14 04:33:59 +12:00
Jonathan Turner
123b1856c8
Attempt heuristic table
2019-08-13 19:45:31 +12:00
Jonathan Turner
4411a5b72c
Merge pull request #281 from jonathandturner/improve_arrays
...
Add from_array and improve array viewing
2019-08-12 18:16:08 +12:00
Jonathan Turner
e0640d7791
Merge pull request #280 from jonathandturner/nth
...
Add nth command
2019-08-12 17:53:16 +12:00