Improve the hex cli commands #5505
giacomocavalieri
started this conversation in
Ideas & suggestions
Replies: 1 comment
-
|
Sounds good to me! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While looking at the hex cli commands I noticed some commands that behaved a little differently from what I expected.
Most commands that need to deal with a package and a version, like
gleam hex revert, orgleam docs removewill take those arguments as required flags:However, there's two commands that are an exception to this rule:
gleam hex retireandgleam hex unretireI think those could be changed to match all the other commands, taking the
package,version, andreason(in the case ofretire) as flags. Would also make it a bit easier to type, making it harder to mess up by getting the order wrongBeta Was this translation helpful? Give feedback.
All reactions