aboutsummaryrefslogtreecommitdiffstats
path: root/cli/commands/cli_tier.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-04-29 17:58:37 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-05-02 13:16:54 +0200
commit78680224ed5d400c9ab0d1a92c01d457f5686ea8 (patch)
tree31e091cf775ffdf46888b69f245a22eb93788774 /cli/commands/cli_tier.py
parenta1df84c2e9f4883ebc4565bbbb7f378f70eea184 (diff)
Create CLI template for Functest
JIRA: FUNCTEST-235 Change-Id: I235a53781fbcde91ccf15d15ea52c96ee2ee9433 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'cli/commands/cli_tier.py')
-rw-r--r--cli/commands/cli_tier.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/cli/commands/cli_tier.py b/cli/commands/cli_tier.py
new file mode 100644
index 00000000..efb8ad5f
--- /dev/null
+++ b/cli/commands/cli_tier.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+#
+# jose.lausuch@ericsson.com
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+
+import click
+
+
+class CliTier:
+ def __init__(self):
+ pass
+
+ def list(self):
+ click.echo("tier list")
+
+ def show(self, tiername):
+ click.echo("tier show %s" % tiername)
+
+ def run(self, tiername):
+ click.echo("tier run %s" % tiername)