Skip to content

Error message not displaying when select an incorrect flag size #164

@digitalghost-dev

Description

@digitalghost-dev

When using the pokemon command with the --image=xx flag, if a non-valid size is used, no error will print, just a blank newline.

$ poke-cli pokemon umbreon --image=xl

# results in blank newline being printed instead of:
─────
Image
╭───────────────────────────╮
│Error!                     │
│Invalid image size.        │
│Valid sizes are: lg, md, sm│
╰───────────────────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/fixSomething isn't working or needs updating.

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions