Add current CLI commands to packages/cli/README.md#310
Add current CLI commands to packages/cli/README.md#310AryanJ-NYC wants to merge 6 commits intoredwoodjs:masterfrom
packages/cli/README.md#310Conversation
|
Question: The CLI README reads:
The root README does not have these instructions. Are they available anywhere? Should I just delete this section? |
|
Thanks for this. Your comment about the source of truth made me consider if adding documentation for each command (beyond what we already supply in the description) is valuable? @thedavidprice, maybe you can weight in here? I can't imagine maintaining this in the README as well. I think the CLI readme is useful for people who are trying to understand the purpose of this package. |
|
@peterp Great. In writing these docs, I kind of agree. Perhaps the source of truth for how to use the Redwood CLI should be, well, the Redwood CLI. With that thought, it may also help CLI users to implement some completion shortcuts for commands and options. This indirectly helps with documenting how the CLI is used and will probably be a big gain for developers. With respect to this current PR, if we think the maintenance of this CLI README is a nightmare and is not very valuable, please don't be afraid to close it. There'll be no hurt feelings. I think a lot of good came out of it already. |
|
@AryanJ-NYC Ok, and thanks! Like you said I don't think this is in vain since you're probably know a bunch about the CLI. I think a completion shortcut would be amazing! Is there a way that completions can be generated from the commands that they import? I opened up #311 in response to this. |
|
I'm going to include the |
|
Starting up #322 to continue this conversation |
|
@AryanJ-NYC are you interested in picking this up again? I'm about to take a crack at CLI docs and wanted to loop you in before I started. |
|
@jtoar Nope. Go for it! |
This pull request is a work in progress. I will mark it ready to review as soon as I can.
I opened this pull request to get comments on the documentation I have written so far. Great documentation requires some iteration so I thought I'd start that process as early as possible.
List of CLI Commands
I am yet to get around to those commands without the check.
Closes #301