Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (12 sloc) 0.394 kB
#!/usr/bin/env ruby
require 'mcollective'
if $0 =~ /mc\-(.+)$/
app_name = $1
if MCollective::Applications.list.include?(app_name)
MCollective::Applications.run(app_name)
else
STDERR.puts "Cannot find the #{app_name} command in the applications plugin directory"
end
else
STDERR.puts "Do not know which command to run, please run mc help for details"
end
Jump to Line
Something went wrong with that request. Please try again.