Skip to content

chore: better errors for missing positional args#68

Merged
notnmeyer merged 1 commit intomainfrom
chore/loo-4954/better-error-when-missing-positional-arg
May 1, 2026
Merged

chore: better errors for missing positional args#68
notnmeyer merged 1 commit intomainfrom
chore/loo-4954/better-error-when-missing-positional-arg

Conversation

@notnmeyer
Copy link
Copy Markdown
Member

from

➜ loops auth login

   ERROR

  Accepts 1 arg(s), received 0.

to

➜ task -- auth login

   ERROR

  Required argument(s) "name" not set.

this matches how we report errors with flags,

➜ loops contacts create

   ERROR

  Required flag(s) "email" not set.

@notnmeyer notnmeyer self-assigned this May 1, 2026
@notnmeyer notnmeyer requested review from nalanj and phil-loops May 1, 2026 14:57
@notnmeyer notnmeyer merged commit 667a2c8 into main May 1, 2026
2 checks passed
@notnmeyer notnmeyer deleted the chore/loo-4954/better-error-when-missing-positional-arg branch May 1, 2026 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants