Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document occ app:.. --flags and usage examples #11549

Open
Antreesy opened this issue Feb 16, 2024 · 0 comments
Open

Document occ app:.. --flags and usage examples #11549

Antreesy opened this issue Feb 16, 2024 · 0 comments

Comments

@Antreesy
Copy link
Contributor

Documentation doesn't cover functionality of occ commands (such as enabling an app for specific groups), which could confuse admin user while attempting to set up the instance. Flag --help is providing documented flag, but without usage examples

root@bfd4c603dbb2:/var/www/html# occ app:enable --help
Description:
  enable an app

Usage:
  app:enable [options] [--] <app-id>...

Arguments:
  app-id                enable the specified app

Options:
  -g, --groups=GROUPS   enable the app only for a list of groups (multiple values allowed)
  -f, --force           enable the app regardless of the Nextcloud version requirement
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
      --no-warnings     Skip global warnings, show command output only
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants