Skip to content

apps:create -h/--help create apps called -h and --help #162

@thomasvandoren

Description

@thomasvandoren

Repro steps:

$ aptible apps:create --help
App --help created!
$ aptible apps:create --help
Validation failed: Handle has already been taken
$ aptible apps:create -h
App -h created!
$ aptible apps:create -h
Validation failed: Handle has already been taken

Expected: Help information for apps:create is displayed
Actual: apps named -h and --help are created

The correct behavior is to call aptible help apps:create. It seems like unexpected behavior to create apps called -h or --help, though.

It's worth noting that this does not happen with apps:deprovision. With apps:deprovision it seems to get an argument parsing error:

$ aptible apps:deprovision -h
ERROR: "aptible apps:deprovision" was called with arguments ["-h"]
Usage: "aptible apps:deprovision"
$ aptible apps:deprovision --app -h
ERROR: "aptible apps:deprovision" was called with arguments ["-h"]
Usage: "aptible apps:deprovision"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions