Skip to content

Exit code? #20

@max-sixty

Description

@max-sixty

Firstly — thank you v much for rargs! I use it a lot. It's probably the most underrated "new cli tools" library.

What should the exit code of an rargs command?

Currently it seems to return successfully even if there were lots of errors in the individual commands.

I'd like to be able to understand if any command failed (e.g. did any string fail to be grepped in a file). Is there a way of doing that with the current library?

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