2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
Commit graph

5 commits

Author SHA1 Message Date
Justin Ma
c0a1d18e3d
update , regenerate commands' docs and update make_docs script ()
* feat: update , regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00
JT
8c0a2d3c15
Auto-generate markdown command docs ()
* Finish updating

* a couple improvements

* Update renames

* cleanup examples
2022-02-13 21:22:51 -05:00
Joseph T. Lyons
053bd926ec
First pass at updating all documentation formatting and cleaning up output of examples () 2020-06-24 06:21:47 +12:00
siedentop
bce6f5a3e6
Uniq: --count flag to count occurences ()
* uniq: Add counting option (WIP!)

Usage:

fetch https://raw.githubusercontent.com/timbray/topfew/master/test/data/access-1k | lines | wrap item | uniq | sort-by count | last 10

* uniq: Add first test

* uniq: Re-enable the non-counting variant.

* uniq: Also handle primitive lines.

* uniq: Update documentation

* uniq: Final comment about error handling. Let's get some feedback

* uniq: Address review comments.

Not happy with the way I create a TypeError. There must be a cleaner
way. Anyway, good for shipping.

* uniq: Use Labeled_error as suggested by jturner in chat.

* uniq: Return error directly.

Co-authored-by: Christoph Siedentop <christoph@siedentop.name>
2020-06-21 12:22:06 +12:00
Shaurya Shubham
bd6556eee1
Use proper file extension for uniq command docs () 2020-02-18 09:37:46 -05:00
Renamed from docs/commands/uniq.rs (Browse further)