Add GitcClientCommand class for GITC-specific commands

These won't show up as common commands in the help text unless in a GITC
client, and will refuse to execute.

Change-Id: Iffe82adcc9d6ddde9cb4b204f83ff018042bdab0
This commit is contained in:
Dan Willemsen
2015-08-31 15:45:06 -07:00
parent 7b01b2fd01
commit 79360640f4
4 changed files with 21 additions and 7 deletions

View File

@ -18,12 +18,12 @@ import os
import sys
import gitc_utils
from command import RequiresGitcCommand
from command import GitcAvailableCommand
from manifest_xml import GitcManifest
from subcmds import init
class GitcInit(init.Init, RequiresGitcCommand):
class GitcInit(init.Init, GitcAvailableCommand):
common = True
helpSummary = "Initialize a GITC Client."
helpUsage = """