Commit Graph

263 Commits

Author SHA1 Message Date
421aacee76 Merge branch 'master' into implement-whole-stream-command-for-all-commands 2019-08-20 16:13:49 +12:00
31790a9906 Use args structs to better extract multiple arguments 2019-08-20 13:15:05 +10:00
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
82a315f06a Make cd argument optional
`cd` with no arugments changes directory to $HOME.
2019-08-20 13:11:29 +10:00
56c04ff5b6 Remove unneeded TODOs
These commands have been confirmed to have no arguments.
2019-08-20 13:11:01 +10:00
953d28ef74 Fix push/pop for shell manager 2019-08-19 20:07:55 +12:00
fef447a659 Fix shell-ring to rotate as expected 2019-08-19 19:29:27 +12:00
d71206ed9e Implement WholeStreamCommand for all remaining commands 2019-08-19 15:16:39 +10:00
095f4645c0 Merge pull request #307 from androbtech/qwrapport
Refactoring and unwrap cleanup beginnings.
2019-08-19 14:06:43 +12:00
7b2b671b1e Merge pull request #309 from twe4ked/version-command
Introduce version command
2019-08-19 14:06:04 +12:00
4de6c941e1 Introduce version command 2019-08-19 11:30:29 +10:00
5dd20850b5 Refactoring and unwrap cleanup beginnings. 2019-08-18 20:28:55 -05:00
b5db24f9ad Fix typo in date command signature 2019-08-19 10:55:28 +10:00
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
785536983a Revert "Heuristic table view" 2019-08-16 04:49:07 +12:00
efd9631a90 All tests pass 2019-08-15 17:46:19 +12:00
dd18122a24 WIP 2019-08-15 17:02:02 +12:00
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
154063013f mv introduced. \¡Viva\! 2019-08-14 15:29:05 -05:00
278de0e517 cp refactoring. 2019-08-14 15:29:05 -05:00
99b881e42f Add first per-item commands 2019-08-15 05:02:39 +12:00
156e72f694 Finish up heuristic for table printing 2019-08-14 04:33:59 +12:00
123b1856c8 Attempt heuristic table 2019-08-13 19:45:31 +12:00
4411a5b72c Merge pull request #281 from jonathandturner/improve_arrays
Add from_array and improve array viewing
2019-08-12 18:16:08 +12:00
3d5395fdd5 Add from_array and improve array viewing 2019-08-12 17:51:13 +12:00
14e47f3d2c Add nth command 2019-08-12 17:13:58 +12:00
6cf3dc92fc Add support for utf16 files 2019-08-12 16:11:42 +12:00
e19c618ac5 Revert "Rewrite the ps command" 2019-08-11 13:41:21 +12:00
7c2fec5851 Rewrite the ps command 2019-08-11 11:09:40 +12:00
d07a3928b2 Fix test failure 2019-08-11 08:33:22 +12:00
8f78995014 Improve enter and fix bugs 2019-08-11 08:18:14 +12:00
c97578bf6e Add which command 2019-08-10 19:06:08 +12:00
60e7dfcf1b Add back command completions 2019-08-10 17:02:15 +12:00
eeed31837f cleanup 2019-08-10 08:49:43 +12:00
34759b7646 Add back in cd/ls and completions 2019-08-10 07:42:23 +12:00
cabd5bf009 Fix sink plugins 2019-08-09 19:54:21 +12:00
83030094e0 All tests pass 2019-08-09 17:36:43 +12:00
aadacc2d36 Merge master 2019-08-09 16:51:21 +12:00
b173fa6303 Fix table print for ls 2019-08-08 16:57:38 +12:00
ba6d62ea0c mkdir creates intermediary directories as required (the default). --create-all/--deep flag removed. 2019-08-07 14:38:00 -05:00
50393bdf42 Make more visible the strategies for figuring out where to copy files. 2019-08-07 13:42:52 -05:00
e0bacaaf37 clean up. more cp. mkdir. more test coverage. fixes.
- Introduced mkdir.
- Minor more labelled error improvements.
- Fix to avoid leaking child zombies.
- cp improvements.
- Introduced mkdir.
2019-08-07 13:28:46 -05:00
c8b5329c5c mkdir. 2019-08-07 13:24:20 -05:00
1b7dd52713 Tests pass. 2019-08-07 13:23:02 -05:00
c231dd32cd Multi shells (#254)
Add multi-shells
2019-08-08 05:49:11 +12:00
14a52bc282 WIP - more streamlining 2019-08-06 09:26:33 -07:00
bb50f1eb14 Merge pull request #250 from jonathandturner/more_error_fixes
More touchups to errors
2019-08-06 15:19:45 +12:00
ae5b781159 More touchups to errors 2019-08-06 15:03:13 +12:00
28e9a1c347 Remove stray println 2019-08-06 06:08:31 +12:00
99671b8ffc Move more parts to tags and away from spans 2019-08-05 20:54:29 +12:00