k-brk
3432078e77
Fix uniq to work with simple values ( #2214 )
2020-07-19 05:19:03 +12:00
Joseph T. Lyons
f26151e36d
Silence Rust 1.45 Clippy warnings ( #2196 )
...
* Silence Rust 1.45 Clippy warnings dealing with using `map_err()`
* Silence false Clippy warning
* Fix last Clippy error for unnecessary conversion
* Fix `and_then` clippy warnings
2020-07-18 05:57:15 +12:00
Joseph T. Lyons
0934410b38
Use matches!()
for true/false returning match statements ( #2176 )
2020-07-14 20:11:41 -04:00
Darren Schroeder
8d03cf5b02
added more verbose message to assert ( #2157 )
...
* added more verbose message to assert
having a -h short is bad for any command since it's already used by --help.
* updated for fmt
2020-07-11 16:49:44 -05:00
Jonathan Turner
0bc2e29f99
Rename 'bytes' to 'filesize' ( #2153 )
2020-07-11 14:17:37 +12:00
Jonathan Turner
6820d70e7d
make duration pretty print clearer ( #2150 )
...
* make duration pretty print clearer
* fix typo and tests
* fix typo and tests
2020-07-11 09:06:52 +12:00
Pierre-André Gagnon
e07a9e4ee7
1747 add ns to duration ( #2128 )
...
* Added nanos to Duration
* Removed unwraps
* Added nanos to Duration
* Removed unwraps
* Fixed errors
* Removed unwraps
* Changed serialization to String
* Fixed Date and Duration comparison
2020-07-11 05:48:11 +12:00
Arash Outadi
6a89b1b010
Remove duplicate method (retag) ( #2147 )
2020-07-10 06:21:13 -04:00
Andrés N. Robalino
34e1e6e426
Add "move column" command. ( #2123 )
2020-07-06 10:27:01 -05:00
Jonathan Turner
d30c40b40e
Bump to 0.16.1 ( #2116 )
2020-07-06 08:12:44 +12:00
Jonathan Turner
0522023d4c
Bump to 0.16.0 ( #2084 )
2020-07-01 06:25:09 +12:00
Jonathan Turner
dffc9c9b1c
Properly redirect invocations ( #2070 )
...
* Properly redirect invocations
* Don't convert with-env yet, as there's a random test failure
2020-06-28 09:04:57 +12:00
Jonathan Turner
7fed9992c9
Bump deps and touchup ( #2066 )
2020-06-27 19:54:31 +12:00
Jonathan Turner
4e2a4236f8
Fix it expansion and add collect ( #2065 )
2020-06-27 17:38:19 +12:00
Andrés N. Robalino
778e497903
Refactoring and more group-by flexibility.
2020-06-17 13:34:17 -05:00
Jonathan Turner
29ea29261d
Bump to 0.15.1 ( #1984 )
2020-06-15 09:54:30 +12:00
Jonathan Turner
935a5f6b9e
Another batch of removing async_stream ( #1970 )
2020-06-12 20:34:41 +12:00
Jonathan Turner
e5a18eb3c2
Bump to 0.15.0 ( #1955 )
2020-06-10 05:33:59 +12:00
Jonathan Turner
ef4eefa96a
Bump more deps ( #1921 )
2020-05-31 08:54:47 +12:00
Andrés N. Robalino
ad43ef08e5
Support average for tables.
2020-05-30 10:33:09 -05:00
Jonathan Turner
e2dabecc0b
Make it-expansion work when in a list ( #1903 )
2020-05-27 20:29:05 +12:00
Jonathan Turner
fa812849b8
Fix warnings and split Scope ( #1902 )
2020-05-27 16:50:26 +12:00
Alexander James
aadbcf5ce8
Issue 1787 ( #1827 )
2020-05-23 20:08:39 -04:00
Darren Schroeder
5de30d0ae5
Tweak auto-rotate for single row output ( #1861 )
...
* added helper to convert data to strings
added ability to auto-rotate single row output
if row will be greater than terminal width
* Added pivot_to_fit config value
* Added ColumnPath to convert_to_string helper
* Figured out I had to run `cargo fmt --all -- --check`
Co-authored-by: Darren Schroeder <fdncred@hotmail.com>
2020-05-22 04:30:58 +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
6efabef8d3
Remove interpretation of Primitive::Nothing
as the number 0. ( #1836 )
2020-05-18 15:18:46 -04:00
Jonathan Turner
0743b69ad5
Move from language-reporting to codespan ( #1825 )
2020-05-19 06:44:27 +12:00
Jason Gedge
acf13a6fcf
Add (near) automatic testing for command examples ( #1777 )
2020-05-18 08:56:01 -04:00
Jonathan Turner
0abc94f0c6
Bump some of our dependencies ( #1809 )
2020-05-17 10:34:10 +12: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
196991ae1e
Bump to 0.14.1 ( #1772 )
2020-05-13 20:03:45 +12:00
Jonathan Turner
b2eecfb110
Bump to 0.14 ( #1766 )
2020-05-13 04:32:51 +12:00
Jonathan Turner
c3535b5c67
It-expansion fixes ( #1757 )
...
* It-expansion fixes
* fix clippy
2020-05-12 15:58:16 +12:00
Jonathan Turner
42eb658c37
Add a simplified list view ( #1749 )
2020-05-11 14:47:27 +12:00
Andrés N. Robalino
f93ff9ec33
Make grouping more flexible. ( #1741 )
2020-05-09 12:15:47 -05:00
Jonathan Turner
b37e420c7c
Add with-env command ( #1717 )
2020-05-06 15:56:31 +12:00
Jonathan Turner
a9968046ed
Add subcommands. Switch from-* and to-* to them ( #1708 )
2020-05-04 20:44:33 +12:00
Andrés N. Robalino
cf53264438
Table operating commands. ( #1686 )
...
* Table operating commands.
* Updated merge test for clarity.
* More clarity.
* Better like this..
2020-04-29 23:18:24 -05:00
Jonathan Turner
db8219e798
extend it-expansion to externals ( #1682 )
...
* extend it-expansion to externals
* trim the carriage return for external strings
2020-04-30 07:09:14 +12:00
Jonathan Turner
73d5310c9c
make it-expansion work through blocks when necessary ( #1681 )
2020-04-29 19:51:46 +12: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
Andrés N. Robalino
80025ea684
Rows and values can be checked for emptiness. Allows to set a value if desired. ( #1665 )
2020-04-26 12:30:52 -05:00
Jonathan Turner
ad7a3fd908
Add not-in: operator ( #1661 )
2020-04-26 17:32:17 +12:00
Thomas B Homburg
716c4def03
Add key_timeout config option ( #1649 )
2020-04-25 05:28:38 +12:00
Jonathan Turner
d7bd77829f
Bump rustyline ( #1644 )
...
* Bump rustyline
* Fix new clippy warnings
* Add pipeline command
2020-04-24 08:00:49 +12:00
Jonathan Turner
c7e11a5a28
bump to 0.13.0 ( #1625 )
2020-04-21 17:01:03 +12:00
Jonathan Turner
e4fdb36511
External vars ( #1615 )
...
* fix empty table and missing spans
* wip
* WIP
* WIP
* working version with vars
* tidying
* WIP
* Fix external quoting issue
2020-04-21 09:45:11 +12:00
Jonathan Turner
2ffb14c7d0
fix empty table and missing spans ( #1614 )
2020-04-20 19:44:19 +12:00
Jonathan Turner
eec94e4016
Semicolon ( #1613 )
...
* WIP on blocks
* Getting further
* add some tests
2020-04-20 18:41:51 +12:00
Jason Gedge
522a828687
Move external closer to internal ( #1611 )
...
* Refactor InputStream and affected commands.
First, making `values` private and leaning on the `Stream` implementation makes
consumes of `InputStream` less likely to have to change in the future, if we
change what an `InputStream` is internally.
Second, we're dropping `Option<InputStream>` as the input to pipelines,
internals, and externals. Instead, `InputStream.is_empty` can be used to check
for "emptiness". Empty streams are typically only ever used as the first input
to a pipeline.
* Add run_external internal command.
We want to push external commands closer to internal commands, eventually
eliminating the concept of "external" completely. This means we can consolidate
a couple of things:
- Variable evaluation (for example, `$it`, `$nu`, alias vars)
- Behaviour of whole stream vs per-item external execution
It should also make it easier for us to start introducing argument signatures
for external commands,
* Update run_external.rs
* Update run_external.rs
* Update run_external.rs
* Update run_external.rs
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
2020-04-20 15:30:44 +12:00