diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-02-21 14:52:33 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-02-21 14:52:33 -0500 |
commit | 3ded42779d940e09a539d535af8b8d1f4b39634f (patch) | |
tree | 5b158cd7120fd745e1de14300e185f998ec550cb /func/overlord/func_command.py | |
parent | 169fc5e750b143432c641f85db4a492d1433f92b (diff) | |
download | third_party-func-3ded42779d940e09a539d535af8b8d1f4b39634f.tar.gz third_party-func-3ded42779d940e09a539d535af8b8d1f4b39634f.tar.xz third_party-func-3ded42779d940e09a539d535af8b8d1f4b39634f.zip |
initial work on "func '*' check" command for diagnosing basic setup problems,
still more to do.
Diffstat (limited to 'func/overlord/func_command.py')
-rw-r--r-- | func/overlord/func_command.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/func/overlord/func_command.py b/func/overlord/func_command.py index 8bc6b7c..bd718bb 100644 --- a/func/overlord/func_command.py +++ b/func/overlord/func_command.py @@ -23,15 +23,19 @@ from cmd_modules import show from cmd_modules import copyfile from cmd_modules import listminions from cmd_modules import ping +from cmd_modules import check from func.overlord import client class FuncCommandLine(command.Command): + name = "func" - usage = "func is the commandline interface to a func minion" + usage = "func is the command line interface for controlling func minions" - subCommandClasses = [call.Call, show.Show, - copyfile.CopyFile, listminions.ListMinions, ping.Ping] + subCommandClasses = [ + call.Call, show.Show, copyfile.CopyFile, + listminions.ListMinions, ping.Ping, check.CheckAction + ] def __init__(self): |