Skip to content

Distinguish monitoringlist update and creation in the CLI #103

Open

Description

@woefe

Is your feature request related to a problem? Please describe.
the import subcommand creates or updates an existing monitoringlist. The list the command operates on is identified by name+comment, which might not be a stable identifier, causing unexpected overwriting of existing lists

Describe the solution you'd like
separate list creation from component updating.
Suggestions:

  • Deprecate the import command and add create and update commands. The update command requires an ID.
  • Keep the import command. Require either a --id or --new param
  • Keep allowing identification of the list by name+comment. Make --id exclusive with the other identifying params as suggested in fix(cli): allow passing in group name and refering to list by id #100

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions