def run(args):
    """Runs the acorn setup/configuration commands.
    """
    if args is None:
        return
    
    cmd = args["commands"][0]
    if cmd == "configure":
        if len(args["commands"]) < 2:# pragma: no cover
            msg.err("'configure' command requires a second, sub-command "
                    "parameter. E.g., `acorn.py configure packages`.")
            exit(0)

        subcmd = args["commands"][1]
        _run_configure(subcmd, args)
def run ( args ) : if args is None : return cmd = args [ "commands" ] [ 0 ] if cmd == "configure" : if len ( args [ "commands" ] ) < 2 : msg . err ( "'configure' command requires a second, sub-command " "parameter. E.g., `acorn.py configure packages`." ) exit ( 0 ) subcmd = args [ "commands" ] [ 1 ] _run_configure ( subcmd , args )
Runs the acorn setup/configuration commands.