mirror of
https://github.com/nushell/nushell.git
synced 2024-12-26 00:50:03 +01:00
cd058db046
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 [##..##]. |
||
---|---|---|
.. | ||
add.md | ||
average.md | ||
cd.md | ||
date.md | ||
echo.md | ||
edit.md | ||
enter.md | ||
env.md | ||
exit.md | ||
fetch.md | ||
first.md | ||
from-csv.md | ||
from-toml.md | ||
help.md | ||
inc.md | ||
last.md | ||
lines.md | ||
nth.md | ||
open.md | ||
README.md | ||
reverse.md | ||
shells.md | ||
sort-by.md | ||
str.md | ||
sum.md | ||
sys.md | ||
to-csv.md | ||
to-json.md | ||
to-toml.md | ||
to-tsv.md | ||
to-url.md | ||
to-yaml.md | ||
trim.md | ||
version.md | ||
where.md |
How do I get started?
Pick any command from the checklist and write a comment acknowledging you started work.
Instructions for documenting a Nu command of your choosing
Name the file after the command, like so:
command.md
Example: If you want to add documentation for the Nu command enter
, create a file named enter.md
, write documentation, save it at /docs/commands/[your_command_picked].md
as and create your pull request.
What kind of documentation should I write?
Anything you want that you believe it best documents the command and the way you would like to see it. Here are some of our ideas of documentation we would love to see (feel free to add yours):
- Examples of using the command (max creativity welcomed!)
- Description of the command.
- Command usage.
Anything else?
Of course! (These are drafts) so feel free to leave feedback and suggestions in the same file.
Happy Documenting.