summaryrefslogtreecommitdiffstats
path: root/func/overlord/func_command.py
Commit message (Collapse)AuthorAgeFilesLines
* initial work on "func '*' check" command for diagnosing basic setup problems,Michael DeHaan2008-02-211-3/+7
| | | | still more to do.
* Refactor the minion/server list and group stuff. Still not ideal, butAdrian Likins2008-02-121-3/+3
| | | | | | | a touch more OO. Also update unittests/etc. Did some s/servers/minions/ renaming while I was at it as well. Need to go back and finish that up.
* remove unused importAdrian Likins2008-01-161-1/+14
| | | | add license blob and #! line
* Our client.command.Command class looks for 'usage', not 'useage'Luke Macken2008-01-141-1/+1
|
* removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-131-2/+0
|
* When func is invoked with no-args, show instructions rather than traceback.Michael DeHaan2007-10-261-0/+3
|
* Added a ping function to the test module and a new command "func '*' ping" ↵Michael DeHaan2007-10-251-1/+2
| | | | | | | | | which can be used to see what servers are contactable from the command line for any given operation, without needing to run an otherwise meaningful command on them. Note that it does try to contact each server before showing results, so ideally we should provide a method in the client class to get the system list and create the client objects seperately for each contact, so output can stream back one line at a time. TBA.
* move "func list_minions" to be a cmd moduleAdrian Likins2007-10-241-16/+10
| | | | | | | | | So now it also respects the hostnamegoo glob, so you can use it to test glob patterns func "*.redhat.com" list_minions will show all the minions that match that pattern
* Slight docs cleanup, make usage print the proper name of the app.Michael DeHaan2007-10-231-1/+1
|
* copyfile.py: dont need the parse call hereAdrian Likins2007-10-121-1/+3
| | | | | | | command.py: move the parse args stuff to before we call subcommands func_command.py: include the copyfile classes so we can use them
* make func_command use the new handleArguments method fromAdrian Likins2007-10-091-1/+17
| | | | | | | | | | | | | | | | command.Command. Use this to fetch the hostnamegoo client.py: pull out expand_servers to module scope, and isServer(). This method basically tries to see if what we think is hostnamegoo is actually hostnamegoo. Kind of a guess atm. cmd_modules/call.py: change this so it doesn't do it's own parsing out of the hostname goo, instead using that from func_command (aka, the top level command parser) cmd_modules/show.py: just a cmd line module in early development
* create a func/overkiad/cmd_modules sub dirAdrian Likins2007-10-081-0/+44
add it to the setup use new func_command module for base class of commands move Call class to cmd_modules/call update scripts/func to use new commandline class