Brian C. Lane
250e68840b
Revert "Rename composer-cli to composer"
...
This reverts commit b8da0a8c8e
.
It conflicts with the PHP dependency manager project named 'composer'
Related: rhbz#1635760
2018-10-08 16:55:57 -07:00
Lars Karlitski
b8da0a8c8e
Rename composer-cli to composer
...
Resolves: rhbz#1635760
2018-10-03 10:43:01 -07:00
Brian C. Lane
d0c4524253
composer-cli should not log to a file by default
...
The user can pass --log /path/to/logfile.log if they want logging
enabled.
2018-08-21 11:30:22 -07:00
Chris Lumens
70e4211ad1
Split the help output into its own module.
...
This means I can reuse it for help output for individual subcommands.
2018-06-28 14:38:05 -04:00
Chris Lumens
3743d6d208
If the help subcommand is given, print the help output.
...
This isn't a real subcommand like the others. The option processing
just intercepts it and prints the output. Given that we're subcommand
based, it makes sense to support this in addition to --help.
2018-06-28 14:38:05 -04:00
Brian C. Lane
bb8c7851d2
Fix composer-cli command help text
...
sources shouldn't be indented
details for a compose are 'details' not 'info'
2018-06-18 10:45:36 -07:00
Brian C. Lane
957def1264
Add support for sources to composer-cli
...
This adds the sources command which can be used to list, add, change,
and delete sources using the TOML formatted source file.
2018-06-11 16:54:59 -07:00
Brian C. Lane
5efeb05aa7
Update composer-cli to use blueprint instead of recipe
2018-06-11 16:54:59 -07:00
Brian C. Lane
9e16e1c0c5
Default composer-cli log should be in ./composer-cli.log
...
Multiple users may use the tool, each one gets their own logfile.
2018-06-11 16:54:58 -07:00
Brian C. Lane
5c878a695f
Add --test option to composer-cli
...
The API server will run a mock compose when a test mode is passed to it.
Passing a 1 will queue a build, pretend to run the build for 10 seconds,
and then fail. Passing a 2 will do the same thing, but it will finish as
if it was successful. All results are available but the output file is
only the string "TEST IMAGE"
This should allow running tests inside docker without calling anaconda
(becuase it will not run in docker, it needs a VM).
2018-06-11 16:54:58 -07:00
Brian C. Lane
56766e794f
Add support for composer-cli compose commands.
...
This adds all the commands needed to start, monitor, delete, and
download a compose.
2018-06-11 16:54:58 -07:00
Brian C. Lane
9ba24f305d
Add support for modules list, projects list, and projects info
2018-06-11 16:54:58 -07:00
Brian C. Lane
d2f784e5da
Add composer-cli utility and implement the recipes commands
...
composer-cli --help shows the commands.
Output defaults to human readable, but raw json can be displayed by
passing --json
2018-06-11 16:54:58 -07:00