def dispatch_main(): cli = DactylCLIParser(DactylCLIParser.UTIL_STYLE) global config config = DactylConfig(cli.cli_args) config.load_style_rules() dactyl_build.config = config # consider fixing this hack with a refactor main(cli.cli_args)
def dispatch_main(): cli = DactylCLIParser(DactylCLIParser.UTIL_BUILD) config = DactylConfig(cli.cli_args) config.load_build_options() main(cli.cli_args, config)
def dispatch_main(): cli = DactylCLIParser(DactylCLIParser.UTIL_LINKS) global config config = DactylConfig(cli.cli_args) main(cli.cli_args)
def dispatch_main(): cli = DactylCLIParser(DactylCLIParser.UTIL_STYLE) config = DactylConfig(cli.cli_args) main(cli.cli_args, config)