Shaurya Shubham
bd6556eee1
Use proper file extension for uniq
command docs ( #1411 )
2020-02-18 09:37:46 -05:00
Shaurya Shubham
7df8fdfb28
Rename the now-deprecated add
command docs into insert
comm… ( #1307 )
2020-01-30 08:15:20 -05:00
Shaurya Shubham
6a39cd8546
Add docs for the calc command ( #1290 )
2020-01-29 08:34:54 -05:00
Jacob Gonzalez
f8be1becf2
Updated rustyline to 6.0.0. Added completion_mode config ( #1289 )
...
* Updated rustyline to 6.0.0. Added completion_mode config
* Formatted completion_mode config
2020-01-27 16:41:17 +13:00
Jason Gedge
32dfb32741
Switch from subprocess crate to the builtin std::process ( #1284 )
...
* Switch from subprocess crate to the builtin std::process
* Update external.rs
* Update external.rs
* Update external.rs
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
2020-01-26 16:03:21 +13:00
Shaurya Shubham
83db5c34c3
Add docs for the from-ods and from-xlsx commands ( #1279 )
2020-01-26 04:31:20 +13:00
Jonathan Turner
78016446dc
Slightly improve new which command ( #1145 )
2020-01-01 20:47:25 +13:00
Alex van de Sandt
b304de8199
Rewrite which
( #1144 )
...
* Detect built-in commands passed as args to `which`
This expands the built-in `which` command to detect nushell commands
that may have the same name as a binary in the path.
* Allow which to interpret multiple arguments
Previously, it would discard any argument besides the first. This allows
`which` to process multiple arguments. It also makes the output a stream
of rows.
* Use map to build the output
* Add boolean column for builtins
* Use macros for entry creation shortcuts
* Process command args and use async_stream
In order to use `ichwh`, I'll need to use async_stream. But in order to
avoid lifetime errors with that, I have to process the command args
before using them. I'll admit I don't fully understand what is going on
with the `args.process(...)` function, but it works.
* Use `ichwh` for path searching
This commit transitions from `which` to `ichwh`. The path search is now
done asynchronously.
* Enable the `--all` flag on `which`
* Make `which` respect external commands
Escaped commands passed to wich (e.g., `which "^ls"`), are now searched
before builtins.
* Fix clippy warnings
This commit resolves two warnings from clippy, in light of #1142 .
* Update Cargo.lock to get new `ichwh` version
`ichwh@0.2.1` has support for local paths.
* Add documentation for command
2020-01-01 19:45:27 +13:00
Ryan Blecher
f37f29b441
Add uniq command ( #1132 )
...
* start playing with ways to use the uniq command
* WIP
* Got uniq working, but still need to figure out args issue and add tests
* Add some tests for uniq
* fmt
* remove commented out code
* Add documentation and some additional tests showing uniq values and rows. Also removed args TODO
* add changes that didn't get committed
* whoops, I didn't save the docs correctly...
* fmt
* Add a test for uniq with nested json
* Add another test
* Fix unique-ness when json keys are out of order and make the test json more complicated
2019-12-31 17:05:02 +13:00
Sebastian Jung
cbbb246a6d
update links to books
2019-12-15 13:56:26 +01:00
Shaurya Shubham
3d79a9c37a
Fix minor error in reject command docs
2019-12-06 17:27:14 +05:30
Yehuda Katz
f858e854bf
Fix a rebase mistake
2019-12-02 13:48:34 -08:00
Yehuda Katz
fe66b4c8ea
Merge remote-tracking branch 'origin/master' into protocol-extraction
2019-12-02 11:16:00 -08:00
Paul Chavard
ce23a672d9
add documentation for compact command
2019-12-02 11:02:59 -08:00
Paul Chavard
9851317aeb
add documentation for default command
2019-12-02 11:02:59 -08:00
Sebastian Jung
3fb4a5d6e6
add documentation for format
2019-12-02 11:02:59 -08:00
Sebastian Jung
340e701124
fix error in save.md
2019-12-02 11:02:59 -08:00
Sebastian Jung
36938a4407
add documentation for save, config
2019-12-02 11:02:59 -08:00
Jonathan Turner
6a6589a357
Update where.md
2019-12-02 11:02:59 -08:00
Sebastian Jung
b94a32e523
add documentation for from-json, from-yaml, history, split-row
2019-12-02 11:02:59 -08:00
Sebastian Jung
7db3c69984
update histogram, nth documentation
2019-12-02 11:02:59 -08:00
Sebastian Jung
5406450c42
Add documentation for histogram, split-column
2019-12-02 11:02:59 -08:00
Jonathan Turner
f317500873
Update from-yaml.md
2019-12-02 11:02:58 -08:00
Jonathan Turner
911414a190
Update config.md
2019-12-02 11:02:58 -08:00
Sebastian Jung
cca6360bcc
add documentation for from-tsv, from-xml
2019-12-02 11:02:58 -08:00
Sebastian Jung
f68503fa21
add documentation for get, ps
2019-12-02 11:02:58 -08:00
Jonathan Turner
911b69dff0
Update some command docs
2019-12-02 11:02:58 -08:00
Paul Chavard
bf87330d6e
add documentation for compact command
2019-12-01 17:44:43 +01:00
Paul Chavard
2bb85bdbd4
add documentation for default command
2019-12-01 17:39:09 +01:00
Jonathan Turner
8f34c6eeda
Merge pull request #1032 from sebastian-xyz/doc
...
add documentation for save, config, get, ps, from-tsv, from-xml
2019-11-30 18:15:39 -08:00
Sebastian Jung
e4c56a25c6
Merge remote-tracking branch 'refs/remotes/origin/doc' into doc
2019-11-30 21:21:15 +01:00
Sebastian Jung
11ff8190b1
add documentation for format
2019-11-30 21:15:12 +01:00
Sebastian Jung
9bd25d7427
fix error in save.md
2019-11-30 21:07:43 +01:00
Jonathan Turner
6bfb4207c4
Update from-yaml.md
2019-12-01 07:00:36 +13:00
Jonathan Turner
c63ad610f5
Update config.md
2019-12-01 06:59:53 +13:00
Sebastian Jung
e38a4323b4
add documentation for from-tsv, from-xml
2019-11-30 13:38:52 +01:00
Sebastian Jung
d40aea5d0a
add documentation for get, ps
2019-11-30 12:48:23 +01:00
Jonathan Turner
f10390b1be
Update some command docs
2019-11-30 14:24:39 +13:00
Sebastian Jung
fbb65cde44
add documentation for save, config
2019-11-29 18:15:51 +01:00
Jonathan Turner
8e7acd1094
Update where.md
2019-11-29 08:41:27 +13:00
Sebastian Jung
c77059f891
add documentation for from-json, from-yaml, history, split-row
2019-11-28 19:33:17 +01:00
Sebastian Jung
5bdda06ca6
update histogram, nth documentation
2019-11-28 19:32:31 +01:00
Sebastian Jung
0845572878
Add documentation for histogram, split-column
2019-11-26 20:47:34 +01:00
David Mason
b3c021899c
combine functions behind to/from-c/tsv commands
...
fixes #969 , admittedly without a --delimiter alias
moves from_structured_data.rs to from_delimited_data.rs to better
identify its scope and adds to_delimited_data.rs. Now csv and tsv both
use the same code, tsv passes in a fixed '\t' argument where csv passes
in the value of --separator
2019-11-19 16:02:35 +00:00
sebastian-xyz
f4dc79f4ba
add group-by command documentation
2019-11-16 15:31:28 +01:00
Jonathan Turner
bcecd08825
Merge pull request #965 from sebastian-xyz/patch-3
...
Add prepend command documentation
2019-11-16 06:19:14 +13:00
Jonathan Turner
55f99073ad
Merge pull request #964 from sebastian-xyz/patch-1
...
Add append command documentation
2019-11-16 06:18:35 +13:00
sebastian-xyz
63667d9e46
Add prepend command documentation
2019-11-15 15:53:58 +01:00
sebastian-xyz
08b770719c
Add append command documentation
2019-11-15 15:37:41 +01:00
R.T. Lechow
036860770b
Document pivot command
...
Part of https://github.com/nushell/nushell/issues/711
2019-11-14 16:59:39 -05:00
Jonathan Turner
02f3330812
Merge pull request #950 from coolshaurya/docs-size
...
Make documentation for size command
2019-11-10 09:52:43 -08:00
Jonathan Turner
6f013d0225
Merge pull request #949 from coolshaurya/docs-count
...
Add docs for the count command
2019-11-10 09:51:25 -08:00
Shaurya Shubham
5a8128dd30
Make documentation for size command
2019-11-10 14:41:23 +05:30
Shaurya Shubham
50616cc62c
Add docs for the count command
...
Partial fix of issue #711
2019-11-10 14:12:59 +05:30
Shaurya Shubham
9d345cab07
Add documentation for the pick and reject command
...
Partial fix of issue#711
2019-11-10 12:37:27 +05:30
David Mason
15986c598a
Add --separator command to from_csv
...
The command takes a string, checks it is a single character and then
passes it to csv::ReaderBuilder via .delimiter() method as a u8.
2019-11-08 15:06:33 +00:00
Jonathan Turner
51879d022e
Merge pull request #895 from Flare576/substring
...
Adds new substring function to str plugin
2019-11-02 17:42:45 +13:00
Flare576
763bbe1c01
Updated Doc, error on bad input
2019-11-01 17:25:08 -05:00
Dan Herrera
b822e13f12
Add documentation for tags command
2019-11-01 00:08:24 -04:00
Flare576
cd058db046
Substring option for str plugin
...
Adds new substr function to str plugin with tests and documentation
Function takes a start/end location as a string in the form "##,##", both sides of comma are optional, and
behaves like Rust's own index operator [##..##].
2019-10-31 19:49:17 -05:00
Andrés N. Robalino
b7af34371b
Merge pull request #871 from oknozor/master
...
Create docs for from-csv command
2019-10-25 21:36:38 -05:00
Paul Delafosse
07ceec3e0b
Create docs for from-toml command
...
Partial fix of issue nushell#711
2019-10-25 20:47:00 +02:00
Paul Delafosse
72fd1b047f
Create docs for from-csv command
...
Partial fix of issue nushell#711
2019-10-25 20:40:51 +02:00
Andrés N. Robalino
380ab19910
Merge pull request #858 from Charles-Schleich/master
...
added Docs for sort-by command
2019-10-22 03:49:18 -05:00
Charles Schleich
39fde52d8e
added Docs for sort-by command
2019-10-21 17:59:20 +02:00
notryanb@gmail.com
2f5eeab567
fix typos and incorrect commands
2019-10-18 20:43:37 -04:00
notryanb@gmail.com
f9fbb0eb3c
add docs for average and give more specific examples for sum
2019-10-18 20:43:37 -04:00
sdfnz
5635b8378d
Added documentation for the sum command
2019-10-15 14:23:32 -05:00
Odin Dutton
4d70255696
Add documentation for cd -
2019-10-08 18:32:42 +11:00
Odin Dutton
77c34acb03
Whitespace
2019-10-08 18:32:42 +11:00
Odin Dutton
e72bc8ea8b
Remove unneeded -
2019-10-08 18:32:39 +11:00
Jonathan Turner
a882e640e4
Merge pull request #793 from chhetripradeep/pchhetri/enter
...
Add documentation for the enter command
2019-10-08 06:02:49 +13:00
Pradeep Chhetri
c09d866a77
Add documentation for the enter command
2019-10-07 23:21:58 +08:00
Jonathan Turner
4467e59122
Merge pull request #792 from chhetripradeep/pchhetri/open
...
Add documentation for the open command
2019-10-07 11:17:28 +11:00
Jonathan Turner
9c096d320a
Merge pull request #797 from chhetripradeep/pchhetri/fetch
...
Add documentation for the fetch command
2019-10-07 11:16:36 +11:00
Pradeep Chhetri
9f15017032
Add documentation for the fetch command
2019-10-07 02:17:57 +08:00
Pradeep Chhetri
81fec11f88
Add documentation for the open command
2019-10-07 02:08:20 +08:00
Jonathan Turner
8a6a688131
Merge pull request #795 from chhetripradeep/pchhetri/inc
...
Add documentation for the inc command
2019-10-07 04:35:08 +11:00
Jonathan Turner
77a4de31fa
Merge pull request #794 from chhetripradeep/pchhetri/sys
...
Add documentation for the sys command
2019-10-07 04:33:51 +11:00
Pradeep Chhetri
7ff5734d5d
Add documentation for the inc command
2019-10-06 23:30:52 +08:00
Pradeep Chhetri
1d19595996
Add documentation for the sys command
2019-10-06 23:20:48 +08:00
Pradeep Chhetri
7d115da782
Add documentation for the trim command
2019-10-06 22:35:38 +08:00
Andrés N. Robalino
b066775630
Merge pull request #789 from cristicismas/patch-1
...
Update cd.md to look better
2019-10-04 16:24:42 -05:00
Maya Farber Brodsky
20031861b9
Add documentation for nth command
2019-10-04 17:37:11 +03:00
Cristi Cismas
eb297d3b8f
Update cd.md to look better
2019-10-04 15:10:46 +03:00
Andrés N. Robalino
8faa0126eb
Merge pull request #784 from coolshaurya/to-dash-sth-docs
...
Added docs for most of the to-sth commands
2019-10-03 21:47:00 -05:00
Shaurya Shubham
6aec03708f
Fix minor typo
2019-10-04 06:44:45 +05:30
Shaurya Shubham
2f7b1e4282
Added improvements suggested by @andrasio
...
Added `open file.sth | to-sth` type examples
Also did a format conversion example with `open jonathon.xml | to-json` in to-json.md
2019-10-04 06:40:16 +05:30
Andrés N. Robalino
45ad18f654
Merge pull request #785 from Charles-Schleich/master
...
Created Docs for env command
2019-10-03 14:00:51 -05:00
Andrés N. Robalino
01829f04d5
Merge pull request #783 from notryanb/document-last
...
add documentation for the last command
2019-10-03 13:59:41 -05:00
Andrés N. Robalino
cc1c471877
Merge pull request #779 from pema99/lines-doc
...
Add documentation for lines
2019-10-03 13:58:30 -05:00
Andrés N. Robalino
de14f9fce8
Merge pull request #781 from coolshaurya/add-command-docs
...
Create docs for add command
2019-10-03 13:38:11 -05:00
Charles Schleich
cf0fa3141a
Created Docs for env command
2019-10-03 20:13:22 +02:00
Shaurya Shubham
539e232f3c
Added docs for most of the to-sth commands
...
Partial fix of issue #711
Docs for the following commands were added -
to-csv
to-json
to-toml
to-tsv
to-url
to-yaml
Docs for to-db , to-bson , to-sqlite have not been added as I don't recognize and understand those formats.
2019-10-03 19:07:48 +05:30
Ryan Blecher
9ed889ccbb
fix grammar
2019-10-03 08:18:51 -04:00
Ryan Blecher
872e26b524
add documentation for the last command
2019-10-03 08:14:59 -04:00
Shaurya Shubham
5bfff0c39b
Create docs for edit command
...
Partial fix of issue #711
2019-10-03 16:54:28 +05:30
Shaurya Shubham
0505a9d6f7
Create docs for add command
...
Partial fix of issue #711
2019-10-03 16:27:04 +05:30
pema99
1b0eaac470
Add documentation for lines
2019-10-03 06:09:01 +02:00
gilesv
2e1670fcb8
Add documentation for where
command
2019-10-02 22:49:05 -03:00