Matthew Auld
89e2169521
Porting 'char' command from nushell to engine-q ( #500 )
...
* Port 'char' command from nushell to engine-q
* fixed unit tests
* Actually fixed unit tests
2021-12-16 10:08:12 +11:00
Matthew Auld
e289630920
Porting 'ansi' command from nushell to engine-q ( #494 )
...
* Porting 'ansi' command from nushell to engine-q
* Added StrCollect to example_test.rs to allow example tests to run
* Run 'cargo fmt' to fix formatting
* Update command.rs
* Update command.rs
* Update command.rs
* Added a category
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2021-12-16 10:06:35 +11:00
JT
1d74d9c5ae
Fix comment issue and shadowing issue ( #501 )
2021-12-16 09:56:12 +11:00
Jakub Žádník
aea2adc44a
Update Beaking_Changes.md
2021-12-15 23:39:22 +02:00
Michael Angerman
0450cc25e0
port over from nushell drop nth ( #498 )
2021-12-15 06:26:15 -06:00
JT
e9525627e6
Fix a couple crlf issues ( #496 )
2021-12-15 07:17:02 +11:00
Michael Angerman
1cbb785969
port over from nushell drop column ( #495 )
...
* port over from nushell drop column
* fix clippy
2021-12-15 06:54:27 +11:00
Benoît Cortier
a41ae72bc1
Fix error propagration across hash
commands ( #493 )
2021-12-15 06:49:48 +11:00
Darren Schroeder
a5c1dd0da5
allow fg, bg, attributes to be set for all colors in color_config ( #489 )
...
* allow fg, bg, attributes to be set for all colors in color_config
* no need for comma between each key value
2021-12-14 13:34:39 -06:00
Eli Flanagan
e919f9a73b
use heck for string casing ( #4081 )
...
I removed the Inflector dependency in favor of heck for two reasons:
- to close #3674 .
- heck seems simpler and actively maintained
We could probably alter the structure of the `str_` module to expose the
individual casing behaviors better.
I did not feel as confident on changing those signatures.
So I took a lazier approach of a macro in the `mod.rs` that creates the public
shimming function to heck's traits.
2021-12-14 09:43:48 -06:00
Eli Flanagan
a3c349746f
ci: update macOS agent ( #4207 )
...
10.14 has been deprecated: https://github.com/Azure/azure-sdk-for-cpp/issues/3168
This hopefully fixes recent CI failures!
2021-12-14 08:55:51 -06:00
JT
04a9c8f3fd
Fix bug in chained boolean typecheck ( #490 )
2021-12-14 16:19:16 +11:00
JT
673fe2b56a
Bump to use latest git reedline ( #488 )
2021-12-14 06:54:43 +11:00
Eli Flanagan
b5f8f64d79
ci: fix macOS agent ( #4203 )
...
I noticed the agent documentation uses uppercase: https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml
2021-12-13 13:08:03 -06:00
Jakub Žádník
930cb26e99
Fix hiding of import patterns with globs ( #487 )
...
* Fix glob hiding
* Remove docs comment
2021-12-13 20:35:35 +02:00
Darren Schroeder
3701fd1d76
allow user to use hex colors in config ( #486 )
2021-12-13 09:02:54 -06:00
Jakub Žádník
ee6ab17fde
Update Beaking_Changes.md
2021-12-13 13:47:01 +02:00
Jakub Žádník
486f91e3a7
Start documenting breaking changes
2021-12-13 12:14:03 +02:00
JT
906c0e6bca
Better filepath completions ( #485 )
2021-12-13 17:46:30 +11:00
JT
1336acd34a
Seems ps still needs a delay to be accurate ( #484 )
2021-12-13 16:28:35 +11:00
JT
2013e9300a
Make config default if broken ( #482 )
...
* Make config default if broken
* Make config default if broken
2021-12-13 14:16:51 +11:00
Hilmar Gústafsson
90ddb23492
Add Path commands ( #280 )
...
* Add Path command
* Add `path basename`
* Refactor operate into `mod`
* Add `path dirname`
* Add `path exists`
* Add `path expand`
* Remove Arc wrapper for args
* Add `path type`
* Add `path relative`
* Add `path parse`
* Add `path split`
* Add `path join`
* Fix errors after rebase
* Convert to Path in `operate`
* Fix table behavior in `path join`
* Use conditional import in `path parse`
* Fix missing cases for `path join`
* Update default_context.rs
* clippy
* Fix tests
* Fix tests
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
Co-authored-by: JT <jonathan.d.turner@gmail.com>
2021-12-13 12:47:14 +11:00
JT
bee7ef21eb
Add in variable and sub-command completions ( #480 )
...
* WIP
* wip
* Add in variable and subcommand completions
* clippy
2021-12-13 10:18:31 +11:00
Darren Schroeder
1576b959f9
update feat template ( #4201 )
2021-12-12 16:15:31 -06:00
Darren Schroeder
4096f52003
update templates2 ( #4200 )
2021-12-12 16:11:27 -06:00
Darren Schroeder
7ceb668419
Revert "try out title change ( #4198 )" ( #4199 )
...
This reverts commit 420aee18ca
.
2021-12-12 16:06:07 -06:00
Darren Schroeder
420aee18ca
try out title change ( #4198 )
2021-12-12 16:05:24 -06:00
JT
d1d1402512
Add in auto-cd if you pass just a directory ( #479 )
...
* Add in auto-cd if you pass just a directory
* clippy
2021-12-13 08:41:34 +11:00
Jakub Žádník
c33d082ecc
Add docs page about modules and overlays ( #478 )
2021-12-12 23:21:04 +02:00
Jae-Heon Ji
6f53912655
Fix: add missing bind commands ( #477 )
...
* chore(random): update naming convention
* fix: add missing bind commands
2021-12-12 21:42:04 +02:00
Fernando Herrera
34a8a897c5
Plugin json ( #475 )
...
* json encoder
* thread to pass messages
* description for example
* check for help flag
2021-12-12 14:00:07 +00:00
Fernando Herrera
4d7dd23779
Plugin json ( #474 )
...
* json encoder
* thread to pass messages
* description for example
2021-12-12 11:50:35 +00:00
Darren Schroeder
f8e6620e48
tweak version output as a list vs table ( #472 )
2021-12-11 14:40:16 -06:00
Ștefan
7cbeebaac1
Port version ( #467 )
...
* First iteration of the version command
* Cleanup
* Fix the installed plugins bug
* Fix fmt check issue
* Fix clippy warning
* Fixing all clippy warnings
* Remove old code
2021-12-11 14:08:17 -06:00
Darren Schroeder
9d7685e565
add temp-path
to $nu
( #471 )
2021-12-11 14:00:29 -06:00
Darren Schroeder
c2aa6c708d
add cwd
to $nu
( #469 )
...
* add `cwd` to `$nu`
* oops
2021-12-11 13:38:36 -06:00
Darren Schroeder
626b1b99cd
add keybinding-path
to $nu
( #470 )
2021-12-11 13:29:56 -06:00
Darren Schroeder
4103abc685
add home-path
to $nu
( #468 )
2021-12-11 13:12:30 -06:00
Benoît Cortier
d0119ea05d
Sort default context items categorically ( #465 )
...
* Sort default context items categorically
* Separate commands in multiple statements
* Use curly braces instead of square brackets
This prevents undesired reformatting.
2021-12-10 21:07:39 -06:00
Darren Schroeder
3df5e63c05
updated to 2021 edition ( #466 )
2021-12-10 18:05:39 -06:00
Benoît Cortier
e77c6bb284
Port hash
, hash md5
and hash sha256
commands ( #464 )
...
`hash` by itself is only printing the help message.
The other two are simply using the same generic implementation.
2021-12-10 17:14:28 -06:00
Luccas Mateus
95841e3489
to xml
and to yaml
(#463 )
2021-12-10 14:46:43 -06:00
Luccas Mateus
c2c4a1968b
Add zip-support to extra ( #462 )
2021-12-10 07:16:59 -06:00
Darren Schroeder
2e2d5ef0eb
fix 1 off table wrapping for help commands ( #460 )
2021-12-09 19:16:50 -06:00
Luccas Mateus
7a892ec5d7
To html
and to md
(#453 )
...
* MathEval Variance and Stddev
* Fix tests and linting
* Typo
* Deal with streams when they are not tables
* First draft of these commands
* To MD
* To md and to html
* Fixed cargo and to_md
* `into_abbreviated_string` instead of `into_string`
* Changed how inner tables are displayed
2021-12-09 19:16:35 -06:00
Fernando Herrera
865906e450
Dataframe commands name ( #457 )
...
* corrected missing shellerror type
* batch dataframe commands
* removed option to find declaration with input
* ordered dataframe folders
* dataframe command name
2021-12-09 18:17:11 -06:00
Michael Angerman
7319b6b168
port over the nth command from nushell ( #454 )
...
* port over the nth command from nushell
* remove a line of redundant code
* must sort the rows or else if the rows are not from low to high this crashes engine-q
2021-12-09 18:16:04 -06:00
Jae-Heon Ji
c3b6e07de6
Port network/url
command ( #452 )
...
* feat: add url command
* feat(network/url): add sub-command for url
2021-12-09 18:09:30 -06:00
Darren Schroeder
5c27ffa42e
update to latest reedline, change config point name, enable output without ansi ( #458 )
2021-12-09 16:06:26 -06:00
Darren Schroeder
3dc19d4179
Filesize formatting ( #456 )
...
* configure the format of filesize
* type-o
* removed some comments
* updated tests
* accomodated filesize_metric better, added test
2021-12-09 13:19:36 -06:00