From b2f5db56a481f0c59d0dcd0ed73ad5f4ac779929 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Mon, 13 Jan 2020 12:47:05 +0100 Subject: [PATCH] Implemented --clean --- ogscm/cli.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ogscm/cli.py b/ogscm/cli.py index ac1275a..586cb2c 100644 --- a/ogscm/cli.py +++ b/ogscm/cli.py @@ -84,6 +84,9 @@ def main(): # pragma: no cover 'Ignoring!') info = container_info(build, args) + if args.cleanup: + info.cleanup() + exit(0) info.make_dirs() # Create definition -- GitLab