Skip to content

Panic when command list is empty #61

@sxwebdev

Description

@sxwebdev

Hey, my list of commands is dynamically configured and in some cases it may be empty.
But I still need the version and help command to be executed. At the moment I'm getting the following panic:

panic("acmd: cannot run without commands")

Can you fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions