2
from charmhelpers.core import host
11
@cmdline.subcommand_builder('service', description="Control system services")
12
def service(subparser):
13
subparser.add_argument("action", help="The action to perform (start, stop, etc...)")
14
subparser.add_argument("service_name", help="Name of the service to control")