Document CLI Commands
Any CLI command that is added to Infinite Scale must be documented in the dev docs and the admin docs. Note that the admin docs mainly differentiate between online and offline commands as the docs structure is different. Any command documented in the dev docs is properly integrated into the admin docs. The following description is for dev docs, admin docs derive from it.
Note that ANY CLI command needs documentation, but it can be decided that a CLI command will not be added to the admin docs (the reasons should be really valid for such a case).
There are three types of CLI commands that require different documentation locations:
- Commands that depend on a service dependent like
ocis storage-users uploads
- Commands that are service independent like
ocis trash purge-empty-dirs
orocis revisions purge
curl
commands that can be one of the above.
- Add any service dependent command into the repsective
README.md
of the service. - Add any service independent command into
ocis/README.md
For examples, see either ocis/README.md
or
one of the respective service readme’s like in
services/storage-users/README.md
or services/auth-app/README.md
.