CliCommand createDescribeCommandCommand() {
        final Identifier identifier = new Identifier("man", "Describe command");
        final List<CliParam> params = Collections.<CliParam>singletonList(
            new CommandCliParam.Builder("cmd", hierarchy).setDescription("Command to describe").build()
        );
        return CliCommand.from(identifier, params, new CommandExecutor() {
            @Override
            public void execute(CommandOutput output, CommandArgs args) throws Exception {
                final CliCommand command = args.popArg();
                ((CliCommandOutput) output).printCommand(command);
            }
        });
    }
CliCommand createDescribeCommandCommand ( ) { final Identifier identifier = new Identifier ( "man" , "Describe command" ) ; final List < CliParam > params = Collections . < CliParam > singletonList ( new CommandCliParam . Builder ( "cmd" , hierarchy ) . setDescription ( "Command to describe" ) . build ( ) ) ; return CliCommand . from ( identifier , params , new CommandExecutor ( ) { @ Override public void execute ( CommandOutput output , CommandArgs args ) throws Exception { final CliCommand command = args . popArg ( ) ; ( ( CliCommandOutput ) output ) . printCommand ( command ) ; } } ) ; }
@return Create the describe command command.