Skip to content

Add documentation for Command Line Interface#49

Merged
Nicofuma merged 11 commits intophpbb:3.1.xfrom
iMattPro:cli-docs
Sep 16, 2015
Merged

Add documentation for Command Line Interface#49
Nicofuma merged 11 commits intophpbb:3.1.xfrom
iMattPro:cli-docs

Conversation

@iMattPro
Copy link
Member

@iMattPro iMattPro added this to the 3.1.x milestone Aug 22, 2015
@Nicofuma
Copy link
Member

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

@michaelcullum
Copy link
Contributor

+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.

@Nicofuma
Copy link
Member

we could imagine a section: "dev tools" in which most of these explanations could take place

@iMattPro
Copy link
Member Author

@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)

@Nicofuma
Copy link
Member

I agree with you, something needs to be decided about the doc: how do we want to manage them, what is the final goal?

@iMattPro
Copy link
Member Author

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.

@michaelcullum
Copy link
Contributor

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?

@michaelcullum
Copy link
Contributor

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.

@iMattPro
Copy link
Member Author

@michaelcullum Fortunately this is for 3.1.x
It does. But I have encountered too often people who have no idea about the CLI, nor how to actually use it. We have nothing about using it anywhere. This will only become out of sync no more so than any other docs ;)

@michaelcullum
Copy link
Contributor

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 phpbbcli.php -v

@iMattPro
Copy link
Member Author

@michaelcullum Well, isn't that what the getting started page here is doing?

@iMattPro
Copy link
Member Author

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.

@michaelcullum
Copy link
Contributor

👍 ❤️

@iMattPro
Copy link
Member Author

Updated

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Force ANSI (colors) output
many people will not understand

@iMattPro
Copy link
Member Author

Updated

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to a shell (or ssh)

@michaelcullum
Copy link
Contributor

Looks good. Thanks ❤️

@iMattPro
Copy link
Member Author

Updated

@iMattPro
Copy link
Member Author

If anybody has anything to add (or remove) or revise please help out. 👍

@Nicofuma
Copy link
Member

👍

Nicofuma added a commit that referenced this pull request Sep 16, 2015
Add documentation for Command Line Interface
@Nicofuma Nicofuma merged commit a50fd2f into phpbb:3.1.x Sep 16, 2015
@Nicofuma
Copy link
Member

thank you

@iMattPro iMattPro deleted the cli-docs branch September 16, 2015 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants