JT
9c17c73d5f
Add more exit code support ( #4730 )
2022-03-04 17:46:18 -05:00
Darren Schroeder
5b3cc73ac6
remove the hard coded escaping from split row and split column ( #4731 )
2022-03-04 15:09:35 -06:00
Darren Schroeder
fbb2e7136c
match is now in the find command ( #4727 )
2022-03-04 11:29:45 -06:00
JT
e64ca97fe2
move scope variable into nu variable ( #4725 )
2022-03-04 11:36:11 -05:00
JT
eef3de2d05
Move old plugins ( #4721 )
2022-03-04 09:36:03 -05:00
Justin Ma
1157fcf372
fix typo, update some examples and regenerate docs ( #4718 )
2022-03-04 06:10:09 -06:00
Genna Wingert
47d5501f9f
Add aliases to command completions ( #4708 )
2022-03-03 15:07:13 -05:00
Genna Wingert
97b3e4a233
Fix aliases to known externals ( #4707 )
2022-03-03 14:05:55 -05:00
Daniel Reilly
52f4c4ba7e
Adds tab indentation option for JSON files. ( #4705 )
2022-03-03 13:15:13 -05:00
JT
7d0531d270
Add support for escape characters, make nuon a JSON superset ( #4706 )
...
* WIP
* Finish adding escape support in strings
* Try to fix windows
2022-03-03 13:14:03 -05:00
Genna Wingert
13f2048ffb
Add completion options for custom completions ( #4674 )
...
* Add completion options for custom completions
* Make clippy happy
* Refactor options for clarity
* Make return type of filtering explicit
2022-03-03 09:45:35 -05:00
Yutaro Ohno
210d25f2a0
Add into duration
( #4683 )
...
* Add `into duration` command
* Avoid using unwrap()
* Use existing logic to parse duration strings
2022-03-03 08:16:04 -05:00
Fernando Herrera
2fd42d25b1
partial completions ( #4704 )
2022-03-03 11:13:44 +02:00
Jakub Žádník
d90b7953dd
Use Nushell's PATH in which ( #4690 )
...
* Make which use our path instead of std::env
* Unignore which test
* Fix wrong fn signature without which feature
2022-03-03 10:38:31 +02:00
JT
96a1bf5f8d
Experiment: Allow both $true/true and $false/false ( #4696 )
...
* Change true/false to keywords
* oops, clippy
* Both kinds of bools
* Add in some boolean variables
* disable py virtualenv test for now
2022-03-02 19:55:03 -05:00
JT
fd88920a9d
Make sure we have text before json parse ( #4697 )
2022-03-02 15:58:56 -05:00
JT
88d7b50e37
Pass redirects into call ( #4694 )
...
* Pass redirects into call
* Oops, format
2022-03-02 07:52:24 -05:00
JT
4965f4cbf4
Bump to 0.59.1 ( #4689 )
2022-03-01 16:55:51 -05:00
Justin Ma
42f1874a3a
Update some examples and docs ( #4682 )
...
* Update some examples and docs
* Update now.rs
* Update date_now.md
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-03-01 08:05:29 -05:00
JT
2a89936bee
Move to latest stable crossterm, with fix ( #4684 )
2022-03-01 07:05:46 -05:00
Fernando Herrera
ece5e7dbb7
dataframe list command ( #4681 )
2022-03-01 06:41:13 -05:00
JT
a6a96b29cb
Add binary literals ( #4680 )
2022-02-28 18:31:53 -05:00
JT
cb5c61d217
Fix open ended ranges ( #4677 )
...
* Make open ended ranges more open ended
* Add test
2022-02-28 11:15:31 -05:00
Justin Ma
b09acdb7f9
Fix unsupported type message for some math related commands ( #4672 )
...
* Fix unsupported type message of some math related commands
* changing the error form for UnsupportedInput
* cargo fmt
2022-02-28 10:14:33 -05:00
JT
10364c4f22
don't use table compaction in to nuon if not a table ( #4671 )
...
* don't use table compaction in to nuon if not a table
* Make a proper nuon conversion test
* more nuon tests
2022-02-28 07:10:02 -05:00
Jonathan Moore
ef70c8dbe4
Date parse refactor ( #4661 )
...
* More flexible and DRY datetime parsing
* Update error messages
* cargo fmt
* clippy
* Add DatetimeParseError
2022-02-27 20:21:46 -05:00
Darren Schroeder
796d4920ab
add char separators ( #4667 )
...
* add char separators
* sir clipster
* unclippy
2022-02-27 16:03:21 -06:00
JT
7819210037
Add shortcircuiting boolean operators ( #4668 )
2022-02-27 17:02:53 -05:00
Fernando Herrera
4ebbe07d27
Polars upgrade ( #4665 )
...
* polars upgrade
* Update describe.rs
Co-authored-by: JT <547158+jntrnr@users.noreply.github.com>
2022-02-27 11:10:29 -05:00
Fernando Herrera
995757c055
flags for find ( #4663 )
2022-02-27 06:17:13 -05:00
Stefan Holderbach
799fa98411
Update reedline, revert crossterm ( #4657 )
...
At the moment `crossterm` apparently has a regression decoding certain important key combinations on Windows.
Thus reedline reverted to the previous version.
Some changes are necessary to remove the need for `crossterm` in the use of `lscolors`.
Introduces two local conversion traits.
Additionally update the `Highlighter` API to support the cursor
position.
This will enable brace/statement match highlighting.
2022-02-26 11:23:05 -06:00
Fernando Herrera
11bc056576
Find with regex flag ( #4649 )
...
* split find functions
* find command with regex
* corrected message
* cargo fmt
2022-02-26 04:19:19 -05:00
Jae-Heon Ji
ed46f0ea17
fix: add missing metadata for ls_colors
( #4603 )
...
* feat: add metadata to roll
* chore: apply clippy
* fix: apply clippy
* fix: revert clippy
2022-02-25 17:31:02 -05:00
JT
0c3ea636fb
Add support for stderr and exit code ( #4647 )
2022-02-25 14:51:31 -05:00
JT
977ef66356
Fix Windows doc comments ( #4643 )
...
* WIP windows doc comments
* WIP windows doc comments
* WIP windows doc comments
* actual fix this time
2022-02-25 13:03:39 -05:00
Justin Ma
e6570b41ca
Fix some examples and regenerate docs, should fix : #4455 ( #4639 )
2022-02-25 08:14:15 -05:00
JT
2126bef052
clean table text before rendering ( #4638 )
2022-02-25 08:13:55 -05:00
JT
e8a6458f0d
finish up with examples ( #4637 )
2022-02-25 05:19:25 -05:00
JT
70009c015d
Use metadata with lists ( #4635 )
...
* Windows external exceptions
* Also use metadata with lists
2022-02-25 04:27:50 -05:00
JT
3c62d27c28
Try again with math-like externals ( #4629 )
...
* Try again with math-like externals
* clippy 1.59
* clippy 1.59
* clippy 1.59
2022-02-24 14:02:28 -05:00
Justin Ma
2c9d8c4818
fix : #3809 , try to fix the source -h
not work issue ( #4627 )
2022-02-24 10:32:10 -05:00
JT
308ab91aff
Speed up the parser and nuon parser a bit more ( #4626 )
2022-02-24 07:58:53 -05:00
Justin Ma
c3979ef1cf
Add example for command n,g,p and grid, update date now examples ( #4622 )
2022-02-24 06:17:05 -06:00
Michael Angerman
784382edde
30 web_tables tests are now passing ( #4623 )
2022-02-24 06:58:20 -05:00
Michael Angerman
feb4f5c347
replace ValueStream with ListStream ( #4621 )
2022-02-24 06:57:31 -05:00
Fernando Herrera
21c0f7d738
allow int and float as strings for arguments ( #4615 )
...
* allow int and float as strings for arguments
* consume iterator
2022-02-24 05:09:02 +00:00
JT
4b18fdcc6e
Date literals ( #4619 )
...
* Date literals
* update deps
* Add date+duration
2022-02-23 21:02:48 -05:00
Michael Angerman
63487941fb
add back in the tests for query_web in the nu_plugin_query ( #4614 )
...
* fix first test
* fix 2nd query_web test
2022-02-23 10:43:36 -06:00
JT
676457acd3
Better ls paths ( #4612 )
...
* Fix ls paths... again
* Fix ls paths... again
* Always expand paths inside of glob_from
* Expand in ls before we check for directory info
2022-02-23 10:54:47 -05:00
Darren Schroeder
f507613b38
fixed some more tests ( #4607 )
2022-02-22 11:32:29 -05:00
JT
25712760ba
Add support for math-like externals ( #4606 )
2022-02-22 10:55:28 -05:00
Justin Ma
d054a724d1
Add example for enter, shells and view-source, update some docs ( #4604 )
2022-02-22 09:16:56 -06:00
Fernando Herrera
c2bad71123
remove repeated function ( #4600 )
...
* remove repeated function
* name in signature
2022-02-22 08:13:38 -05:00
JT
3e8a41fbc9
Speedup unit parse ( #4598 )
...
* Compact nuon tables
* Speed up unit parsing a bit
2022-02-22 04:50:49 -05:00
JT
31925c3d40
Compact nuon tables ( #4596 )
2022-02-21 20:48:42 -05:00
JT
9888f8f298
Add pipeline redirection support ( #4594 )
...
* redirection
* Remove commented-out
* fix tests
* more fixes
2022-02-21 17:22:21 -05:00
Jakub Žádník
739e403cd5
Do not set visibility to true automatically ( #4591 )
...
Adding it by default grows the size of the visibility structure a lot.
2022-02-21 16:42:31 -05:00
Jakub Žádník
359bb6eebe
Look up predecl only in the working set ( #4592 )
...
Previously, the parser tried to look up the predecl also in the
permanent state and if a definition with that name already existed, it
would try to update it, which is illegal.
2022-02-21 16:05:20 -05:00
JT
6d4784a7c1
Make 'each' implicitly filter out nothings ( #4546 )
...
* Make 'each' implicitly filter out nothings
* another example
2022-02-21 15:49:08 -05:00
Darren Schroeder
88fa40d698
rename flatshape_*
to shape_*
( #4589 )
2022-02-21 12:27:21 -06:00
JT
24fc9c657e
Add binary support to 'skip' ( #4588 )
...
* Add binary support to 'skip'
* add streaming
2022-02-21 13:23:43 -05:00
JT
6670b77b27
Fix shorthand env duplicates ( #4587 )
2022-02-21 12:58:04 -05:00
Justin Ma
53b5012f1e
feat: update: #4518 , Add examples for command: use,module,export def,export env and export def-env ( #4584 )
2022-02-21 09:32:31 -06:00
Jae-Heon Ji
d1ec05b12b
fix: lose ls_colors
in some filters commands ( #4525 )
...
* feat: add metadata to first
* feat: add metadata to last and skip
* feat: add metadata to reverse
* fix: apply clippy
2022-02-21 08:29:51 -06:00
JT
a2c4c92fce
Remove record iteration ( #4582 )
...
* Remove record iteration
* Remove test
2022-02-21 09:12:04 -05:00
Justin Ma
917886f8ad
feat: update: #4518 , Add examples for command: hide, history, from yml, def-env, and table ( #4581 )
2022-02-21 07:52:50 -06:00
Joseph T. Lyons
4f367a59de
Strip trailing whitespace in files ( #4575 )
...
* Strip trailing whitespace in rs files
* Strip trailing whitespace in toml files
* Strip trailing whitespace in md files
* Strip trailing whitespace in nu files
2022-02-21 08:38:15 -05:00
Justin Ma
968427c4e9
feat: update: #4518 , Add example for register,source,save,shuffle and from tsv ( #4577 )
2022-02-21 06:25:41 -06:00
JT
d454fad4dc
Improve json errors a bit ( #4579 )
...
* Improve json errors a bit
* typo
2022-02-21 07:08:09 -05:00
JT
a96f8b891e
more strict nuon handling, better nuon errors ( #4576 )
...
* more strict nuon handling, better nuon errors
* Improve errors a bit more
2022-02-20 22:31:50 -05:00
Joseph T. Lyons
5bf2ffeaf5
Add indent flag to to json
(first draft) ( #4571 )
...
* Add indent flag to `to json` (first draft)
* Run cargo fmt
* Update examples / tests
* Change order of examples
2022-02-20 16:29:19 -06:00
Darren Schroeder
9b2a022f5b
tweak default config to amplify theme-ability ( #4572 )
...
* tweak default config to amplify theme-ability
* missed default of auto
2022-02-20 16:05:36 -06:00
JT
fd22211737
Add nuon format for fun ( #4401 )
...
* Add nuon format for fun
* more fun
* More nuon fixes, allow comments, improve errors
2022-02-20 16:26:41 -05:00
JT
2ba12afb01
A few fixes to docs generation and default config ( #4570 )
...
* A few fixes to docs generation and default config
* A few more fixes
2022-02-20 15:20:41 -05:00
JT
6024a17a5b
Remove stray println ( #4568 )
...
* Default config improvements
* Finish cleanup
* Add some comments
* remove println
2022-02-20 09:41:16 -05:00
Jakub Žádník
56aacc4852
Use environment variable for env_conversions ( #4566 )
...
* Handle string->value env conv. with env. var.
Also adds the environment variable for Path/PATH and removes it from
config.
* Simplify getting the string->value conversion
* Refactor env conversion into its own function
* Use env var for to_string conversion; Remove conf
* Fix indentation in default config
2022-02-20 16:27:59 +02:00
JT
643c5097d6
Default config improvements ( #4565 )
...
* Default config improvements
* Finish cleanup
* Add some comments
2022-02-20 07:48:46 -05:00
JT
9ea5a2ecd3
Improve missing param error span ( #4560 )
2022-02-19 21:30:29 -05:00
JT
a32ce93c79
Improve full help for flags ( #4559 )
2022-02-19 21:25:52 -05:00
eggcaker
b92aaf0432
add custom header ability to post command ( #4558 )
2022-02-19 19:27:48 -06:00
Justin Ma
aea4355d04
refactor: change column names from 'Column*' to 'column*' ( #4556 )
2022-02-19 19:26:47 -05:00
Darren Schroeder
7163721571
a few more ansi escape sequences ( #4553 )
2022-02-19 16:47:52 -06:00
Joseph T. Lyons
efd62f917f
Reduce code duplication in to json
command ( #4551 )
2022-02-19 14:46:20 -06:00
Justin Ma
ac99ac003a
Add example for cd,transpose,detect columns,split column and split row ( #4549 )
2022-02-19 09:24:48 -06:00
Joseph T. Lyons
3ecf17e7af
Fix ps
command to show process name only ( #4544 )
...
* Fix `ps` command to show process name only
* Remove `command_only` - it is no longer being used
2022-02-18 19:48:52 -06:00
Joseph T. Lyons
28b5399fb7
Use join over custom join code ( #4548 )
2022-02-18 19:07:11 -06:00
Justin Ma
3f14b75153
feat: add examples for length,lines,reject,benchmark and drop column ( #4547 )
2022-02-18 19:03:24 -06:00
JT
d53eaac7a1
Improve comparison errors ( #4541 )
2022-02-18 17:11:27 -05:00
JT
f085bd97f6
Add some more builtin var completions ( #4540 )
2022-02-18 14:34:40 -05:00
Jakub Žádník
c893cc1485
Add config to NuCompleter ( #4538 )
2022-02-18 13:54:13 -05:00
Eli Flanagan
e5bf56a7dd
port post ( #4537 )
...
This restores a basic version of the `post` command.
Some source types have been omitted from this first take.
I copied from `fetch` and from `post`@0.40.0.
Part of #4356
2022-02-18 13:53:10 -05:00
JT
06f9047be4
Add an explicit 'print' command ( #4535 )
2022-02-18 13:43:34 -05:00
JT
786e4ab971
Make 'for' implicitly filter out nothings ( #4536 )
...
* Make 'for' implicitly filter out nothings
* Fix test
2022-02-18 13:41:41 -05:00
Jakub Žádník
f65955ccc5
Fix wrong FlatShape name of List ( #4532 )
2022-02-18 18:31:28 +02:00
Justin Ma
1235d516a5
Add examples for env,let-env,rm,touch and date list-timezone ( #4531 )
...
* feat: update #4518 , add examples for env,let-env,rm,touch and date list-timezone
* fix typo
* update example for `date list-timezone` command
2022-02-18 18:19:37 +02:00
Justin Ma
dd11be03be
feat: update #4518 , add command examples for def, do, cp, mv, mkdir and ls ( #4528 )
2022-02-18 08:30:16 -06:00
Justin Ma
a5f9ad2a43
Add or update examples for some commands ( #4521 )
...
* chore: add or update examples for some commands
* chore: code formatting
2022-02-18 07:06:52 -06:00
Darren Schroeder
1377693f0f
standardize char nf terms ( #4520 )
2022-02-18 05:52:48 -05:00
Jakub Žádník
bccce0ab46
Use overlay ID for module import lookup ( #4514 )
...
* Add id to import pattern
* Finish testing importing in a block
2022-02-17 20:58:24 -05:00
Jakub Žádník
c7c427723b
Test support fixes ( #4517 )
...
* Fix failing pipeline()
The `skip(1)` was there likely to remove the welcome message.
* Fix typo
* Fix nu! test macro to enter cwd correctly
Nushell's current working directory is determined primarily by the PWD
environment variable.
2022-02-18 00:23:04 +02:00
Darren Schroeder
d4cd3f9578
allow dfr open
to open tsv
files ( #4516 )
2022-02-17 14:15:17 -06:00
Darren Schroeder
9415352447
remove $nu.keybinding-path ( #4515 )
2022-02-17 14:36:08 -05:00
Genna Wingert
8f5b857fcf
Fix ignore to run side effects of previous command ( #4510 )
...
Co-authored-by: Genna Wingert <wingertge@gmail.com>
2022-02-17 12:49:54 -05:00
JT
fa75c93765
Slight cleanup of 'from json' line-at-a-time ( #4512 )
2022-02-17 12:49:31 -05:00
JT
393cb7ca6f
Treat ls
for absolute paths as-is ( #4513 )
...
* Absolute paths in ls are treated as-in
* Better fix
2022-02-17 12:49:20 -05:00
JT
f5f9d56c37
Move to a standard kebab/snake style ( #4509 )
2022-02-17 09:55:17 -05:00
JT
6e733f49bc
Require block params ( #4505 )
...
* Require block params
* Improve errors
2022-02-17 06:40:24 -05:00
Darren Schroeder
b8b2737890
make find case insensitive ( #4502 )
2022-02-16 19:42:40 -06:00
JT
d620f76a21
Make comparisons/sort-by more 'global' ( #4500 )
...
* Make comparisons/sort-by more 'global'
* Let custom values do their own comparisons
2022-02-16 13:30:37 -06:00
Darren Schroeder
b64ac9eb7b
more test fixes ( #4499 )
...
* more test fixes
* update multi-os err messages
2022-02-16 12:24:45 -06:00
JT
5b6156687e
Use partial_cmp and make -i case insensitive ( #4498 )
...
* Use partial_cmp and make -i case insensitive
* Insensitive sort multiple columns
2022-02-16 11:12:49 -05:00
JT
c4e1559f89
Another batch of command tests ( #4496 )
...
* Add a batch of command tests
* More tests
2022-02-16 07:38:02 -05:00
JT
644435bfe3
Move and enable with-env test ( #4489 )
2022-02-16 04:59:44 -05:00
Michael Angerman
bd96ce4e9c
add more examples to the sys command ( #4491 )
2022-02-15 21:06:38 -08:00
Darren Schroeder
7e6430def0
a few more tests ( #4488 )
2022-02-15 20:48:32 -05:00
JT
e763a8dcef
Auto-hide aliases to prevent recursion ( #4487 )
2022-02-15 17:36:24 -05:00
JT
df07e8e410
Fix view-source command ( #4486 )
2022-02-15 17:03:06 -05:00
Jonathan Moore
f824388f63
Date format list ( #4485 )
...
* Add `date format --list`, and make format string optional (providing default)
* Make DRY
`into datetime --list` now uses `generate_strfttime_list` from `date format --list`
* refactor strftime to use current datetime
* Fix formatting of specification descriptions
Fixes issues caused when copying directly from docs.rs
* Change default format to rfc2822
Perhaps to make it more DRY, functions from `into datetime` can be used. However, currently `into datetime` is a bit tricky to use as it needs a separate time zone argument.
* Tweak in-shell docs to match modified behavior
* Show %#z format specifier in `into datetime --list` only
* cargo fmt
* Satisfy clippy
2022-02-15 15:13:40 -06:00
Darren Schroeder
f11fa99d30
check to make sure we have data first ( #4484 )
2022-02-15 15:08:11 -06:00
JT
56b3fc61a3
Remove statements, replaced by pipelines ( #4482 )
2022-02-15 14:31:14 -05:00
JT
66669d7839
Fix more command tests ( #4481 )
2022-02-15 10:08:07 -05:00
JT
5c1a1be02b
Don't error on failed external expansion ( #4480 )
2022-02-15 08:47:25 -05:00
JT
9114a2d31d
Ensure that reduce has a valid span ( #4479 )
2022-02-15 07:59:51 -05:00
JT
84f85ff9ae
Fix to json
escape logic ( #4478 )
2022-02-15 06:55:57 -05:00
JT
a743db8e8f
Improve alias expansion, again ( #4474 )
2022-02-14 21:09:21 -05:00
JT
fbaafaa459
Make param parsing more resilient, correct missing param error ( #4470 )
2022-02-14 12:33:47 -05:00
Michael Angerman
63a2c2bc2d
remove ignore for sort_by command test by_column which is now passing ( #4465 )
2022-02-13 20:46:12 -08:00
JT
8c0a2d3c15
Auto-generate markdown command docs ( #4451 )
...
* Finish updating
* a couple improvements
* Update renames
* cleanup examples
2022-02-13 21:22:51 -05:00
Michael Angerman
06f5affc0b
add in the Value List to the sort-by Ordering ( #4464 )
2022-02-13 10:20:50 -08:00
Michael Angerman
7a3aeaf080
sort_by: coerce_compare now returns an Ordering ( #4461 )
...
* coerce_compare now returns an Ordering which will enable mixed type comparison
* arbitrary nushell sort order of Float / Int / String / Bool
2022-02-13 09:23:54 -08:00
Justin Ma
a520599fa0
fix: fix with-env example with pipeline input ( #4458 )
2022-02-13 06:40:01 -06:00
Andrew Barnes
77eb4c4188
Fix default duplicates column ( #4452 )
...
* Add test to ensure default not adding dup. columns
* Fix for default adding duplicate columns
2022-02-13 05:38:46 -05:00
Michael Angerman
e82ffc4dee
sort_by error processing return ShellError instead of static String ( #4453 )
...
* sort_by error processing part I return ShellError instead of static Strings
* more explicit details on what types are failing
* clippy fixes
2022-02-12 21:30:57 -08:00
Darren Schroeder
6fc082f6e9
fix case insensitive sort ( #4449 )
...
* fix case insensitive search
* fixed test
* tweak
2022-02-12 20:48:50 -06:00
Justin Ma
560be6e73e
feat: mark str to-datetime as deprecated command ( #4448 )
2022-02-12 20:30:37 -06:00
Robert O'Shea
c5e7bccee5
Fixed printing of builtin kill command #4392 ( #4447 )
...
* Fixed printing of builtin kill command
* Fixed fmt and clippy issues for kill command
* Uncommented unintentional comments
* Fixed wrong code added in kill command
* Fixed more fmt issues with kill command
2022-02-12 20:18:27 -06:00
Jakub Žádník
94a0e3060a
Update CI ( #4445 )
...
* Add different features combinations
* Specify styles manually
* Fix args
* Fix typo
* Let other CI jobs finish if one fails
* Fix unused symbols without plugin feature
* Put "which" tests behind "which" feature
* Add Python virtualenv job
* Oops forgot git command
* Install Nushell in virtualenv tests
* Add names to steps; Test v.env in separate step
* cd into virtualenv
* Do not run on Python 2.7
* Build Nushell after formatting and clippy checks
2022-02-12 22:48:17 +02:00
JT
eceb2d5106
Early return on subcommands ( #4443 )
...
* Early return on subcommands
* More streamlining
2022-02-12 11:39:38 -05:00
Justin Ma
baf6348e66
feat: add unalias to deprecated command ( #4440 )
2022-02-12 17:06:52 +02:00
JT
cc171b6ad4
Improve completions with no starting characters ( #4433 )
...
* Improve completions with no starting characters
* Fix subexpressions, crashes, and differentiate externals
2022-02-12 10:04:10 -05:00
Fernando Herrera
1fd7b9ac38
roll commands ( #4437 )
...
* roll commands
* removed repeated funtion
2022-02-12 06:11:54 -05:00
Darren Schroeder
b4b7524206
changed example description ( #4434 )
2022-02-12 06:10:41 -05:00
Jakub Žádník
328f7e92a0
Hide alias ( #4432 )
...
* Add alias interning
Now, AliasId is used to reference aliases stored in EngineState, similar
to decls, blocks, etc.
* Fix wrong message
* Fix using decl instead of alias
* Extend also alias id visibility
* Merge also aliases from delta
* Add alias hiding code
Does not work yet but passes tests at least.
* Fix wrong alias lookup and visibility appending
* Add hide alias tests
* Fmt & Clippy
* Fix random clippy warnings in "which" command
2022-02-12 11:50:37 +02:00
Fernando Herrera
fcc13224c1
headers command ( #4414 )
...
* headers command
* correct behaviour headers
2022-02-11 21:06:49 -05:00
Robert O'Shea
926177235c
Added quiet flag rm command #4423 ( #4430 )
...
* rm now uses -f flag to not print anything
* changed quiet flag to q not f
* Changed value passed to Value::Nothing in rm command
2022-02-12 01:22:40 +02:00
Genna Wingert
85d1a681c7
Remove stringification for binary values in save
command ( #4428 )
...
* Remove stringification for binary values in `save`
* Fix typo and clippy warning
2022-02-11 14:26:36 -05:00
JT
a16e485cce
Add support for defining known externals with their own custom completions ( #4425 )
...
* WIP for known externals
* Now completions can work from scripts
* Add support for definiing externs
* finish cleaning up old proof-of-concept
2022-02-11 13:38:10 -05:00
JT
a767fa369c
Improve quote path completions with drill-down ( #4422 )
2022-02-11 09:42:15 -05:00
JT
886ed5ab2d
Fix captures ( #4421 )
...
* Fix rowcondition and import captures
* Only check extra blocks if not yet seen
2022-02-11 07:37:10 -05:00
JT
e16d6ae00c
Improve external command completions with spaces ( #4420 )
2022-02-11 07:05:48 -05:00