mfoemmel / fig

Fig is a utility for configuring environments and managing dependencies across a team of developers.
Other
81 stars 13 forks source link

differentiate between fig options and fig commands #29

Closed tastapod closed 10 years ago

tastapod commented 14 years ago

fig [options] command [package...]

fig commands are things like update, list[-remote], publish, clean

fig options are things like --include, --append

So you have:

or

mfoemmel commented 14 years ago

I really like this, but it conflicts with the "executable config" syntax we have now e.g. if you use the "command" statement in a config, you can run it like this:

fig mylib/1.2

Or, assuming we had tagging:

fig mylib

Should we convert this to something like:

fig run mylib

?

tastapod commented 14 years ago

I like fig run mylib - it makes it more explicit. It also means you have a check (fig run implies a command statement, so fig can complain if there isn't one).

clonezone commented 10 years ago

It's a bit late to change the command line processing like this, so this is a "won't do".