Leonhard Kipp 48f535f02e
Display aliases and custom commands in which; fix #2810 (#2834)
* Display aliases and custom commands in which; Fix #2810

Example output of nu after the commit is applied:

```shell
/home/leo/repos/nushell(feature/which_inspect_alias)> def docker-ps [] { docker ps --format '{{json .}}' | from json -o }
/home/leo/repos/nushell(feature/which_inspect_alias)> which docker-ps
───┬───────────┬────────────────────────┬─────────
 # │    arg    │          path          │ builtin
───┼───────────┼────────────────────────┼─────────
 0 │ docker-ps │ nushell custom command │ No
───┴───────────┴────────────────────────┴─────────
/home/leo/repos/nushell(feature/which_inspect_alias)> alias d = gid pd
/home/leo/repos/nushell(feature/which_inspect_alias)> which d
───┬─────┬───────────────┬─────────
 # │ arg │     path      │ builtin
───┼─────┼───────────────┼─────────
 0 │ d   │ nushell alias │ No
───┴─────┴───────────────┴─────────
```

* Update documentation
2021-01-02 06:40:44 +13:00
..
2020-06-28 14:22:26 +12:00
2019-10-08 18:32:42 +11:00
2020-07-23 09:42:04 +12:00
2020-08-15 07:52:59 -05:00
2020-10-06 05:21:20 -05:00
2020-09-30 13:27:52 -05:00
2020-03-14 06:23:41 +13:00
2020-12-16 05:37:12 +13:00
2020-09-07 17:02:45 +12:00
2020-06-28 14:22:26 +12:00
2020-12-09 06:43:46 +13:00
2020-05-24 02:02:44 -05:00
2020-08-22 05:51:29 +12:00
2020-07-15 08:47:04 +12:00
2020-10-15 16:20:55 +13:00
2020-12-18 20:53:49 +13:00
2020-10-15 16:20:55 +13:00
2020-10-01 20:13:42 -05:00

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.