def xontribs_main(args=None, stdin=None):
 if ((not args) or ((args[0] not in _MAIN_XONTRIB_ACTIONS) and (args[0] not in {'-h', '--help'}))):
  args.insert(0, 'load')
 parser = _create_xontrib_parser()
 ns = parser.parse_args(args)
 if (ns.action is None):
  ns = parser.parse_args((['load'] + args))
 return _MAIN_XONTRIB_ACTIONS[ns.action](ns)

def xontribs_main ( args = None , stdin = None ) : if ( ( not args ) or ( ( args [ 0 ] not in _MAIN_XONTRIB_ACTIONS ) and ( args [ 0 ] not in { '-h' , '--help' } ) ) ) : args . insert ( 0 , 'load' ) parser = _create_xontrib_parser ( ) ns = parser . parse_args ( args ) if ( ns . action is None ) : ns = parser . parse_args ( ( [ 'load' ] + args ) ) return _MAIN_XONTRIB_ACTIONS [ ns . action ] ( ns )
alias that loads xontribs .