def main_run(): """Starts coconut-run.""" Command().start(run=True)
def main(): """Starts coconut.""" Command().start()
def main_run(): """Starts Coconut with the --run and --quiet options.""" Command().start(run=True)
# IMPORTS: #----------------------------------------------------------------------------------------------------------------------- from __future__ import print_function, absolute_import, unicode_literals, division from coconut.root import * # NOQA from coconut.exceptions import CoconutException from coconut.command import Command from coconut.constants import version_tag, version_long #----------------------------------------------------------------------------------------------------------------------- # COMMAND: #----------------------------------------------------------------------------------------------------------------------- CLI = Command() def cmd(args, interact=False): """Processes command-line arguments.""" if isinstance(args, (str, bytes)): args = args.split() return CLI.cmd(args=args, interact=interact) VERSIONS = { "num": VERSION, "name": VERSION_NAME, "spec": VERSION_STR, "tag": version_tag, "-v": version_long,
def main(): """Runs the Coconut CLI.""" Command().start()