Learn more about these different git repos.
Other Git URLs
274f8b4
@@ -155,6 +155,12 @@
help="only create latest symbol link to this compose when compose status matches specified status",
)
parser.add_argument(
+ "--print-output-dir",
+ action="store_true",
+ default=False,
+ help="print the compose directory"
+ )
+ parser.add_argument(
"--quiet",
action="store_true",
default=False,
@@ -231,6 +237,9 @@
else:
compose_dir = opts.compose_dir
+ if opts.print_output_dir:
+ print('Compose dir: %s' % compose_dir)
+
compose = Compose(conf,
topdir=compose_dir,
debug=opts.debug_mode,
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org
How is this different to the Compose top directory that is already printed a few lines below this one?
That this one is also printed with --quiet, so that one can use --quiet --print-output-dir, and not have to parse the full stdout.
Ok, that makes sense.
Pull-Request has been merged by lsedlar
Signed-off-by: Patrick Uiterwijk patrick@puiterwijk.org