#NEWLINE# def _help( command ) : #NEWLINE# #INDENT# '\n    :param command: the command name for which you want to see a help\n    :type command: str\n    :returns: process return code\n    :rtype: int\n    ' #NEWLINE# if ( command is not None ) : #NEWLINE# #INDENT# _help_command ( command ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# logger . debug ( 'DCOS bin path: {!r}' . format ( util . dcos_bin_path ( ) ) ) #NEWLINE# results = [ ( c , default_command_info ( commands_message ) ) for c in subcommand . default_subcommands ( ) ] #NEWLINE# paths = subcommand . list_paths ( ) #NEWLINE# with ThreadPoolExecutor ( max_workers = len ( paths ) ) as executor : #NEWLINE# #INDENT# results += list ( executor . map ( subcommand . documentation , paths ) ) #NEWLINE# commands_message = options . make_command_summary_string ( sorted ( results ) ) #NEWLINE# #UNINDENT# emitter . publish ( 'Command line utility for the Mesosphere Datacenter Operating\nSystem (DCOS). The Mesosphere DCOS is a distributed operating\nsystem built around Apache Mesos. This utility provides tools\nfor easy management of a DCOS installation.\n' ) #NEWLINE# emitter . publish ( 'Available DCOS commands:' ) #NEWLINE# emitter . publish ( commands_message ) #NEWLINE# emitter . publish ( "\nGet detailed command description with 'dcos <command> --help'." ) #NEWLINE# return 0