mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-10-26 13:55:28 +03:00
71f5736d93
the other day, i was writing a script and wanted to pass a `list<int>` to it which is not possible because there is no such things as _types_ for externals 🤔 i ended up writing an "arg parsing" command to help in that task and thought it could be useful to people 😇 in this MR, i add `std-rfc parse-arg` in the `script-parsing.nu` module and add associated tests which all pass. i invite the reader to have a look at the docstring of `parse-arg` which should contain a full example explaining the usage of this new command 😉 --------- Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com> |
||
---|---|---|
.. | ||
std-rfc | ||
tests | ||
nupm.nuon | ||
README.md |
std-lib candidate
This folder is where we can add scripts that might want to be in std-lib at some point. It can serve both as a holding place for scripts that are waiting on nushell changes, as well as a place to develop and discuss such scripts.