Skip to content

Improve error output #104

@beauraines

Description

@beauraines

If a user enters a command in error, e.g. continute rather than continue, the toggl command silently exits. This has resulted in me not starting a time entry as expected. As a toggl user, I want to be alerted if I entery a command in error, so I know that I should fix it.

Check out the [.fail()](https://github.com/yargs/yargs/blob/main/docs/api.md#failfn--boolean) API method

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions