diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-05-13 11:15:49 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-05-15 15:16:10 +0000 |
commit | 426ad7b517f20ff8c77ed69dcd056db7d5278f18 (patch) | |
tree | 57518b7531da0ebfa6ea6436ea14c91d947abf6c /qtip/cli/commands/cmd_setup.py | |
parent | 284cc6fe24375ad6d32cc567d0c64eedc1a4f4b7 (diff) |
Refactoring workspace related commands to `project` group
- renamed `workspace` to `project`, which is more accurate
- group create/setup/run/teardown into `project`
- shortcut for project commands, e.g. `qtip create` <=> `qtip project create`
- even shorter command alias, e.g. `qtip s` => `qtip setup`
Change-Id: I69ba5aa571bccc1cc4687481189c329b099bee91
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/cli/commands/cmd_setup.py')
-rw-r--r-- | qtip/cli/commands/cmd_setup.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/qtip/cli/commands/cmd_setup.py b/qtip/cli/commands/cmd_setup.py deleted file mode 100644 index ac434561..00000000 --- a/qtip/cli/commands/cmd_setup.py +++ /dev/null @@ -1,17 +0,0 @@ -############################################################################## -# Copyright (c) 2017 taseer94@gmail.com and others. -# -# 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 -import os - - -@click.command('setup', help='Setup QTIP workspace') -def cli(): - os.system('ansible-playbook {}/setup.yml'.format(os.getcwd())) |