Add documentation for Command Line Interface#49
Conversation
|
to me it looks more like a thing for the user documentation than for the dev documentation because it explains whta you can currently do with the CLI, what are the existing commands, but it doesn't explain how it works, how you can add your own command and what differ from a page with a controller |
|
+1 to @Nicofuma's comments but I think the rationale behind putting it here though is it will be more technical/developer users who will be using the CLI. |
|
we could imagine a section: "dev tools" in which most of these explanations could take place |
|
@Nicofuma I intended it to go here https://area51.phpbb.com/docs/dev/31x/index.html because those are nice Docs (and right now docs for phpBB are a mess, all over the place, and impossible to find) |
|
I agree with you, something needs to be decided about the doc: how do we want to manage them, what is the final goal? |
|
Looking at the "documentation" folder, I don't know if I want to re-do all of this in XML, nor do I see where it will fit in with those Docs. The "Administration" section I guess, though it is entirely about the ACP. |
|
The other side of this is that we don't have anywhere to display 3.2.x docs yet, and regenerating docs for 3.1.x/3.0.x is presently difficult (I don't even know how... @Marshalrusty @Noxwizard). And XML is ugly. I would say because this kind of thing is borderline, it might be easier, and entice more work to be done on dev tools docs, if we put it with developer documentation? |
|
Nice work with the docs btw but doesn't it kind of repeat the help command and list commands built into phpBB's CLI. I'm afraid this might just become out of sync. |
|
@michaelcullum Fortunately this is for 3.1.x |
|
Except most docs aren't repeated in the code. ;) I think what might be of more use is a single page that talks about how to use the cli, and includes information about the list and help commands and important things like |
|
@michaelcullum Well, isn't that what the getting started page here is doing? |
|
OK, will redo so it's more genralized, and instructs users to use the --help or -h on the various commands to learn about their arguments and options within the CLI rather than documenting them all here. |
|
👍 ❤️ |
|
Updated |
development/cli/getting_started.rst
Outdated
There was a problem hiding this comment.
Force ANSI (colors) output
many people will not understand
|
Updated |
development/cli/getting_started.rst
Outdated
|
Looks good. Thanks ❤️ |
|
Updated |
|
If anybody has anything to add (or remove) or revise please help out. 👍 |
|
👍 |
Add documentation for Command Line Interface
|
thank you |
@nickvergessen