Skip to content

Privateer cli return codes need to be checked #103

@speas038

Description

@speas038

Version of privateer

current version

Describe the bug

After creating the acceptance testing workflow, it appears that even when a command fails, privateer still returns an exit code of zero making it difficult to test a command like privateer list for error conditions.

To Reproduce

Run privateer generate-plugin without a valid yaml, and the return code will be 0 (should be not equal to zero for error conditions)

Expected behavior

Error codes should return non zero.

Screenshots

No response

Additional context

Discovered when adding acceptance testing. See pr #102

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions