Skip to content

backups-config: the "schedule-at" flag is not properly parsed #1106

@Frzk

Description

@Frzk

When using the scalingo CLI, we document it's possible to configure Scheduled backup by running this command:

scalingo --app my-app --addon <whatever> backups-config --schedule-at "4:00 UTC"

So the schedule-at flag is supposed to support passing a time + timezone.

In facts, when doing so, the CLI reports the following error:

 !     An error occurred:
       fail to parse the schedule-at flag

I see 2 issues:

  • The error message should report "fail to parse the schedule-at value" because the flag is indeed OK.
  • We should either:
    • actually support passing a time + timezone
    • or remove this possibility from the CLI help and from our documentation.

For the record, this command works:

scalingo --app my-app --addon <whatever> backups-config --schedule-at 4

But it's also badly documented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions