Skip to content

Default command option #19

@nbulischeck

Description

@nbulischeck

Would it be possible to add a default command option? I'm running into a situation where I'd like to have a default command case be shelling out to a remote server.

This could be represented as a decorator like:

@shell.default
def shell_out(command: str):
    remote.execute(command)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions