Main start point. This function parses the command line and executes the
targets given through argv . If there are no targets given, a help output
is generated.
- Parameters:
argv (sequence) - Command line arguments. If omitted or None, they are picked from
sys.argv.
args (tuple) - The list of modules with targets. If omitted, __main__
is imported and treated as target module. Additionally the mechanism
always adds the _setup.make module (this one) to the list in order
to grab some default targets.
name (str) - Name of the executing module. If omitted or None, '__main__'
is assumed. If the final name is not '__main__', the function
returns immediately.
|