Skip to content

CLI should fill in existing values for parameters not specified on update requests #1279

@wfchandler

Description

@wfchandler

Target component

  • CLI
  • SDK
  • Something else
  • Not sure

Overview

Currently commands like instance update require the user to provide all settings for the object being updated. This is inconvenient for users who need to adjust just one setting on a large number of objects, requiring them to separately lookup the details of each item and pass all of them on the command line.

For update commands, the CLI should instead make all of the field arguments optional. For values not passed, it should transparently query the API and send the existing values on the update request.

Implementation details

We'd want to update progenitor's CLI generator to implement this.

Anything else you would like to add?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIssue for a new feature that does not break current functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions