Arguments should be swapped #4

Open
opened 2024-12-14 06:39:00 +00:00 by josh · 0 comments
Owner

When adding a command to alias, what is the first thought? How does the command read?

shadow add <alias> <command>

That make sense and how you usually setup shell aliases (alias lg="lazygit" in fish) -- but it's opposite in shadow.

assets on  main [$]  v20.18.0  v3.13.0 (assets)
➜ shadow add
error: the following required arguments were not provided:
  <ORIGINAL>
  <REPLACEMENT>

Usage: shadow add <ORIGINAL> <REPLACEMENT>

For more information, try '--help'.
When adding a command to alias, what is the first thought? How does the command read? ```shell shadow add <alias> <command> ``` That make sense and how you usually setup shell aliases (`alias lg="lazygit"` in fish) -- but it's opposite in shadow. ```shell assets on  main [$]  v20.18.0  v3.13.0 (assets) ➜ shadow add error: the following required arguments were not provided: <ORIGINAL> <REPLACEMENT> Usage: shadow add <ORIGINAL> <REPLACEMENT> For more information, try '--help'. ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: josh/shadow#4
No description provided.