enonic/cli-enonic

enonic distro ls

Opened this issue · 0 comments

There is currently no way of getting the list of distros without going into "interactive mode".
For example enonic sandbox create -v ????

I would like to be able to find the value for any parameter without ever using interactive.
As such enonic sandbox create -h shows it has a -v parameter.
I want a list of versions, so I can craft the create command without interactive...
enonic sandbox create -v 7.12.2 MySandboxName

I want a command to list the distros, maybe with some parameters to determine how many distros to show.

Here are a bunch of ideas:
-l latest
-a all
-p patch releases
-f feature releases
-m major releases
-n nightlies
-r release candidates
-b betas
-s snapshots (hmm "s" could also mean stable)

Maybe two different sort:

  • [-v] version (default)
  • -d date

Maybe some of those ideas are useful :)