Skip to content

[SSH Keys] keys-add doesn't display an error when an argument is missing #1227

Description

@sc-brandon

On keys-add command, when the keyname or the path to the file, it doesn't display any error. And it also still exit 0 instead of exit 1.

$ scalingo keys-add ~/.ssh/yubikey.pub     
$ echo $?
0

$ scalingo keys-add test
$ echo $?
0

It should display an error and exit 1.

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