Skip to content

Conversation

@joshtrichards
Copy link
Member

@joshtrichards joshtrichards commented Nov 20, 2024

  • Resolves: #

Summary

After:

Output of occ files:

[...]
Available commands for the "files" namespace:
  files:cleanup                    Clean up orphaned filecache and mount entries
  files:copy                       Copy a file or folder
  [...]

Output of files:cleanup --help:

Description:
  Clean up orphaned filecache and mount entries

Usage:
  files:cleanup [options]

Options:
      --skip-filecache-extended  don't remove orphaned entries from filecache_extended
  -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

Help:
  Deletes orphaned filecache and mount entries (those without an existing storage).

Before:

Output of occ files:

[...]
Available commands for the "files" namespace:
  files:cleanup                    cleanup filecache
  files:copy                       Copy a file or folder
[...]

Output of files:cleanup --help:

Description:
  cleanup filecache

Usage:
  files:cleanup [options]

Options:
      --skip-filecache-extended  don't remove orphaned entries from filecache_extended
  -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

Historical context:

TODO

Checklist

@joshtrichards joshtrichards added this to the Nextcloud 31 milestone Nov 20, 2024
@joshtrichards joshtrichards changed the title feat(occ): Add help and update description for files:cleanup feat(files): Add help to / update description of files:cleanup Nov 20, 2024
@kesselb kesselb merged commit 1f6d0f0 into master Nov 21, 2024
187 checks passed
@kesselb kesselb deleted the feat/occ-files-cleanup-help branch November 21, 2024 10:00
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants