[caiman-discuss] CLI for the Distribution Constructor

Dave Miner dminer at opensolaris.org
Thu May 1 16:07:26 PDT 2008


Jean McCormack wrote:
> Here's what I'm proposing for the CLI for the Distribution Constructor.
> 
> 
> dist-const resume [-s <step>]  <configuration-file>
> dist-const resume  <configuration-file>
> dist-const pause -s <step>  <configuration-file>
> dist-const complete  <configuration-file>
> 
> 
> resume will start the build at the specified step (if specified) or the 
> last step
>       started in the previous build.
> pause will stop the build at the start of the specified step.
> complete will run from start to finish.
> 
> Any comments or questions?

One thing I see is that it doesn't seem to allow for a "resume + pause". 
  Also, what would the "simple" resume (your second synopsis) do in the 
case where the last built ran to completion - exit immediately, or start 
over from the beginning?

My thought would be just:

dist-const [-s [<step>]] [-p <step>] <configuration-file>

-s [<step>]: start at the specified step, or the previous build's pause 
point if the <step> argument not specified.  Build runs from the 
beginning if this option not specified.  If <-s> is specified with no 
<step> argument and the prior build had run to completion, exit immediately.
-p <step>: pause at the specified step, run to completion if not specified

I have no idea whether this is CLIP-compatible.

Dave


More information about the caiman-discuss mailing list