From 79360640f4c7d5f044973aa1bdb6fb0f8f311f05 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 31 Aug 2015 15:45:06 -0700 Subject: 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 --- command.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'command.py') diff --git a/command.py b/command.py index 997acec0..cd5e3c3e 100644 --- a/command.py +++ b/command.py @@ -231,7 +231,12 @@ class MirrorSafeCommand(object): and does not require a working directory. """ -class RequiresGitcCommand(object): +class GitcAvailableCommand(object): """Command that requires GITC to be available, but does not require the local client to be a GITC client. """ + +class GitcClientCommand(object): + """Command that requires the local client to be a GITC + client. + """ -- cgit v1.2.3-54-g00ecf