The argument ordering question #11

Open
opened 2021-07-21 21:21:38 +00:00 by decentral1se · 1 comment
Owner

I was trying to wire up urfave to use abra recipe <recipe> version ordering but as I have discovered, I have no idea how to do this.

@3wordchant mentioned a discussion with @roxxers about this and I see some rumours of an outcome in coop-cloud/abra#189.

I am personally fine with moving to abra recipe version <recipe> ordering and moving all non-global flags/args to the end of the command order (as I believe @knoflook was suggesting?).

I am wary of moving into "making new things" in this port while we're still trying to get to feature parity but this one seems like a fine shortcut to take since parsing the original ordering looks tricky & hard to do.

Thoughts?

I was trying to wire up urfave to use `abra recipe <recipe> version` ordering but as I have discovered, I have no idea how to do this. @3wordchant mentioned a discussion with @roxxers about this and I see some rumours of an outcome in https://git.autonomic.zone/coop-cloud/abra/issues/189. I am personally fine with moving to `abra recipe version <recipe>` ordering and moving all non-global flags/args to the end of the command order (as I believe @knoflook was suggesting?). I am wary of moving into "making new things" in this port while we're still trying to get to feature parity but this one seems like a fine shortcut to take since parsing the original ordering looks tricky & hard to do. Thoughts?
Author
Owner

Some logs attached...

Some logs attached...
decentral1se added the
question
help wanted
labels 2021-07-22 11:09:49 +00:00
This repo is archived. You cannot comment on issues.
No description provided.