Skip to content

Rename force to initial for account sync #12314

@kesselb

Description

@kesselb

Is your feature request related to a problem? Please describe.

Christoph and I discussed the wording of --force in the account sync command:

occ -vvv mail:account:sync 6 --force

My expectation would be that --force updates everything in the account. What it actually does is run an initial sync only for all mailboxes that have "sync in background" enabled.

Describe the solution you'd like

  • Rename --force to --initial to better reflect its behavior of running an initial sync only for mailboxes with "sync in background" enabled.
  • Add a new option --all that actually syncs every mailbox in the account.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    📄 To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions