Skip to content

Standard commands should always be present #158

@g-foster2020

Description

@g-foster2020

For example, if there is no key e.g. from workspace.override.yml then there is no ws secret encrypt command. To the user it is difficult to understand where the issue is (i.e. is their usage wrong? or something else?) as the command is not added so not included in the usage.

Review all commands to ensure they are always present if possible and move any checks to the point of running the command.

E.g. when running ws secret encrypt ... without a key.

N.b. Ensure the output goes to the correct output stream (stdout or stderr).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions