ed80933806
String interpolation ( #1849 )
...
* Add string interpolation
* fix coloring
* A few more fixups + tests
* merge master again
2020-05-20 07:27:26 +12:00
ae87582cb6
Fix missing invocation errors ( #1846 )
2020-05-19 08:57:25 -04:00
b89976daef
let format access variables also ( #1842 )
2020-05-19 16:20:09 +12:00
3144dc7f93
add support for specifying max history size in config ( #1829 ) ( #1837 )
2020-05-19 10:27:08 +12:00
6efabef8d3
Remove interpretation of Primitive::Nothing
as the number 0. ( #1836 )
2020-05-18 15:18:46 -04:00
0743b69ad5
Move from language-reporting to codespan ( #1825 )
2020-05-19 06:44:27 +12:00
5f1136dcb0
Fix newly added examples. ( #1830 )
2020-05-18 11:40:44 -04:00
acf13a6fcf
Add (near) automatic testing for command examples ( #1777 )
2020-05-18 08:56:01 -04:00
3fc4a9f142
added config check to disable auto pivoting of single row outputs ( #1791 )
...
* added config check to disable auto pivoting of single row outputs
* fixed change to use built-in boolean values
2020-05-18 20:42:22 +12:00
b6cdfb1b19
Remove the -n flag from shuffle ( #1823 )
2020-05-18 19:12:35 +12:00
334685af23
Add some examples ( #1821 )
...
* Adds some examples
* Run rustfmt
* Fixed a few descriptions in the examples
2020-05-18 19:11:37 +12:00
c475be2df8
Fix starship not getting the correct pwd ( #1822 )
2020-05-18 17:22:54 +12:00
f18424a6f6
Remove test-bins feature.
2020-05-17 23:32:55 -05:00
af6aff8ca3
Allow user to specify the indentation setting on the pretty flag for the to json command ( #1818 )
...
* Allow user to specify the indentation setting on the pretty flag for the to json command
* Use "JSON" over "json"
2020-05-18 06:48:58 +12:00
d4dd8284a6
create Palette trait ( #1813 )
...
* create Pallet trait
* correct spelling to palette
* move palette to it's own module
2020-05-18 05:48:57 +12:00
41e1aef369
Fix the insert command ( #1815 )
2020-05-17 08:30:52 -04:00
e50db1a4de
Adds support to pretty format the json in to json
( #1812 )
...
* Current work on the --pretty flag for to json
* Deleted notes that were pushed by accident
* Fixed some errors
2020-05-17 16:43:10 +12:00
48d06f40b1
Remove the old it-hacks from fetch and post ( #1807 )
2020-05-17 06:18:46 +12:00
40ec8c41a0
Cal command updates ( #1758 )
...
* Calculate the quarter directly
* Group some data together, remove attribute to ignore Clippy warning
* Group items into structs and add methods
* Updates to cal command
* Update cal.rs
* Update cal.rs
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com >
2020-05-16 16:00:06 +12:00
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
822440d5ff
added nothing value for incalcuable dir sizes ( #1789 )
2020-05-15 12:53:18 -04:00
fc8ee8e4b9
Extracted grouping by date to it's own subcommand. ( #1792 )
2020-05-15 04:16:09 -05:00
5fbe5cf785
Use the directories crate instead of app_dirs ( #1782 )
...
The app_dirs crate is abandonned since quite a bit of time. Use the directories
crate instead, which is maintained and have more OS support.
2020-05-14 20:17:23 +12:00
e7f08cb21d
Allow external binary to register custom commands. ( #1780 )
...
This changeset contains everything that a separate binary needs to
register its own commands (including the new help function). It is
very possible that this commit misses other pub use exports, but
the contained ones work for our use cases so far.
2020-05-14 12:35:22 +12:00
e3b7e47515
cal: fix thursday typo ( #1776 )
2020-05-13 08:06:31 -04:00
9700b74407
Fix type in config flag description ( #1769 )
2020-05-13 14:21:57 +12:00
803c6539eb
doc: fix nth examples ( #1768 )
2020-05-12 16:47:45 -04:00
75edcbc0d0
Simplify mv
in FilesystemShell
( #1587 )
2020-05-12 16:40:45 -04:00
b0aa142542
Add examples for some more commands ( #1765 )
2020-05-13 03:54:29 +12:00
247d8b00f8
doc: fix prepend example definition ( #1761 )
...
It seems that the description was copy-pasted by mistake from the
append command.
2020-05-12 19:46:21 +12:00
0b520eeaf0
Add a batch of help examples ( #1759 )
2020-05-12 17:17:17 +12:00
c3535b5c67
It-expansion fixes ( #1757 )
...
* It-expansion fixes
* fix clippy
2020-05-12 15:58:16 +12:00
8b9a8daa1d
Add a batch of help examples ( #1755 )
2020-05-12 13:00:55 +12:00
c5ea4a31bd
Adding coloring to help examples ( #1754 )
2020-05-12 11:06:40 +12:00
2275575575
Improve list view and ranges ( #1753 )
2020-05-12 08:06:09 +12:00
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
42eb658c37
Add a simplified list view ( #1749 )
2020-05-11 14:47:27 +12:00
a2e9bbd358
Improve duration math and printing ( #1748 )
...
* Improve duration math and printing
* Fix test
2020-05-11 13:44:49 +12:00
f702aae72f
Don't include year and month by default, adds an option to display th… ( #1745 )
...
* Don't include year and month by default, adds an option to display the quarters of the year
* Add a test for cal that checks that year requested is in the return
* rustfmt the cal tests
2020-05-11 12:35:24 +12:00
f5e03aaf1c
Add cal command ( #1739 )
...
* Add cal command
* Fix docmentation to show commands on two lines
* Use bullet points on flag documentation for cal
* Dereference day before calling string method
* Silence Clippy warning regarding a function with too many arguments
* Update cal flag descriptions and documentation
* Add some tests for the cal command
2020-05-10 11:05:48 +12:00
55374ee54f
Fix help text for alias command. ( #1742 )
...
* Fix help text for alias command.
* Rust fmt
2020-05-09 12:16:14 -05:00
f93ff9ec33
Make grouping more flexible. ( #1741 )
2020-05-09 12:15:47 -05:00
180c1204f3
Use playground instead of depending on fixture format files. ( #1726 )
2020-05-07 06:58:35 -05:00
96e5fc05a3
Pick->Select rename. Integration tests changes. ( #1725 )
...
Pick->Select rename. Integration tests changes.
2020-05-07 06:03:43 -05:00
c3efdf2689
Rename edit command to update. ( #1724 )
...
Rename edit command to update.
2020-05-07 00:33:30 -05:00
27fdef5479
Read exit status before failing in failed read from stdout pipe ( #1723 )
2020-05-07 13:42:01 +12:00
7ce8026916
Ignore empty arguments passed to externals ( #1722 )
2020-05-07 09:18:56 +12:00
8a9fc6a721
Fix changing to a new Windows drive ( #1721 )
...
* Fix changing to a new Windows drive
* Update cli.rs
2020-05-07 05:51:03 +12:00
b37e420c7c
Add with-env command ( #1717 )
2020-05-06 15:56:31 +12:00
3201c90647
Extend to/from usage text to indicate subcommands ( #1711 )
...
Both to and from without a subcommand only print the helptext. Expand the usage line a bit, so a glance at `help commands` indicates the existance of the subcommands and mentions some common formats.
Ref a9968046ed
Ref #1708
2020-05-05 09:00:29 +12:00