(subparsers)
| 358 | |
| 359 | |
| 360 | def initialize_remoteconfvalue_subcommand(subparsers): |
| 361 | command_help = '''Prints out the value for conf-name in the cluster's Storm configs. |
| 362 | The cluster's Storm configs are the ones in $STORM-PATH/conf/storm.yaml |
| 363 | merged in with the configs in defaults.yaml. |
| 364 | |
| 365 | This command must be run on a cluster machine.''' |
| 366 | |
| 367 | sub_parser = subparsers.add_parser("remoteconfvalue", help=command_help, formatter_class=SortingHelpFormatter) |
| 368 | sub_parser.add_argument("conf_name") |
| 369 | sub_parser.set_defaults(func=print_remoteconfvalue) |
| 370 | add_common_options(sub_parser) |
| 371 | |
| 372 | |
| 373 | def add_common_options(parser, main_args=True): |
no test coverage detected