1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-16 01:08:21 +02:00
Commit Graph

5 Commits

Author SHA1 Message Date
Joseph T. Lyons
dbe0effd67
User error propagation operator () 2020-07-18 13:12:06 +12:00
Ali Mousa
93144a0132
Make mode subcommand: math mode ()
* Update calculate to return a table when Value is a table

* impl mode subcommand for math

* add tests for math mode subcommand

* add table/row tests for math mode subcommand

* fix formatting
2020-06-25 05:57:27 +12:00
Arash Outadi
1420cbafe4
Refactor out RunnableContext from calculate () 2020-06-24 06:24:33 +12:00
Arash Outadi
bd7ac0d48e
Math Documentation ()
* Adding math docs

* Add some comments to calculate

* Remove redudant message

Message already shows up in subcommands list

* Added not working example

Accidentantly

* Remove table
2020-06-15 08:42:15 +12:00
Arash Outadi
a042f407c1
1882-Add min, max in addition to average for acting lists ()
* Converting average.rs to math.rs

* Making some progress towards math

Examples and unit tests failing, also think I found a bug with passing in strings

* Fix typos

* Found issue with negative numbers

* Add some comments

* Split commands like in split and str_ but do not register?

* register commands in cli

* Address clippy warnings

* Fix bad examples

* Make the example failure message more helpful

* Replace unwraps

* Use compare_values to avoid coercion issues

* Remove unneeded code
2020-06-14 09:49:57 +12:00