salt/scripts/salt-cp
2011-12-27 12:02:09 -08:00

21 lines
356 B
Python
Executable File

#!/usr/bin/env python2
'''
Publish commands to the salt system from the command line on the master.
'''
import salt.cli
def main():
'''
The main function
'''
cp_ = salt.cli.SaltCP()
cp_.run()
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
raise SystemExit('\nExiting gracefully on Ctrl-c')