def METHOD_NAME(self, parser):
    parser.add_argument(
        "name", nargs="?",
        help="Optional name of this node.", default=self._node())
    parser.add_argument(
        "sync", nargs="?", choices=("sync",),
        help="Whether or not to call wait on results")
    parser.add_argument(
        "command", nargs="+",
        choices=("start", "stop", "status", "restart"))
    parser.add_argument(
        "--foreground", action="store_true",
        help="Start in foreground mode (no daemon/service)")
    parser.set_defaults(func=self.__call__)