You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by no...@apache.org on 2020/12/29 12:56:21 UTC
[buildstream] 02/04: cli: Add artifact command group
This is an automated email from the ASF dual-hosted git repository.
not-in-ldap pushed a commit to branch richardmaw/wip-artifact-subcommands
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit b1712138dcb35981c0752ec088053cb097956233
Author: Richard Maw <ri...@codethink.co.uk>
AuthorDate: Thu Nov 1 15:23:20 2018 +0000
cli: Add artifact command group
---
buildstream/_frontend/cli.py | 9 +++++++++
tests/completions/completions.py | 1 +
2 files changed, 10 insertions(+)
diff --git a/buildstream/_frontend/cli.py b/buildstream/_frontend/cli.py
index e3a88a5..e07ec53 100644
--- a/buildstream/_frontend/cli.py
+++ b/buildstream/_frontend/cli.py
@@ -880,3 +880,12 @@ def source_bundle(app, element, force, directory,
force=force,
compression=compression,
except_targets=except_)
+
+
+#############################################################
+# Artifact Command #
+#############################################################
+@cli.group(short_help="Manipulate cached Artifacts")
+def artifact():
+ """Manipulate cached Artifacts"""
+ pass
diff --git a/tests/completions/completions.py b/tests/completions/completions.py
index af35fb2..0966a52 100644
--- a/tests/completions/completions.py
+++ b/tests/completions/completions.py
@@ -6,6 +6,7 @@ from tests.testutils import cli
DATA_DIR = os.path.dirname(os.path.realpath(__file__))
MAIN_COMMANDS = [
+ 'artifact ',
'build ',
'checkout ',
'fetch ',