fn add_event_stream_options(app: App<'static, 'static>) -> App<'static, 'static> {
    app.arg(Arg::with_name("EVENT_STREAM_APPLICATION").help("The name of the application for \
                                                             event stream purposes. This is \
                                                             distinct from the `--application` \
                                                             flag (which may be going away), and \
                                                             will be attached to all events \
                                                             generated by this Supervisor.")
                                                      .long("event-stream-application")
                                                      .required(true)
                                                      .takes_value(true)
                                                      .validator(non_empty))
       .arg(Arg::with_name("EVENT_STREAM_ENVIRONMENT").help("The name of the environment for \
                                                             event stream purposes. This is \
                                                             distinct from the `--environment` \
                                                             flag (which may be going away), and \
                                                             will be attached to all events \
                                                             generated by this Supervisor.")
                                                      .long("event-stream-environment")
                                                      .required(true)
                                                      .takes_value(true)
                                                      .validator(non_empty))
       .arg(Arg::with_name("EVENT_STREAM_URL").help("The event stream connection string \
                                                     (host:port) used by this Supervisor to send \
                                                     events to a messaging server.")
                                              .long("event-stream-url")
                                              .required(true)
                                              .takes_value(true)
                                              .validator(non_empty))
       .arg(Arg::with_name("EVENT_STREAM_SITE").help("The name of the site where this Supervisor \
                                                      is running. It is used for event stream \
                                                      purposes.")
                                               .long("event-stream-site")
                                               .takes_value(true)
                                               .validator(non_empty))
       .arg(Arg::with_name(AutomateAuthToken::ARG_NAME).help("An authentication token for \
                                                              streaming events to an messaging \
                                                              server.")
                                                       .long("event-stream-token")
                                                       .required(true)
                                                       .takes_value(true)
                                                       .validator(AutomateAuthToken::validate)
                                                       .env(AutomateAuthToken::ENVVAR))
       .arg(Arg::with_name(EventStreamMetadata::ARG_NAME).help("An arbitrary key-value pair to \
                                                                add to each event generated by \
                                                                this Supervisor")
                                                         .long("event-meta")
                                                         .takes_value(true)
                                                         .multiple(true)
                                                         .validator(EventStreamMetadata::validate))
}
// TODO (CM): yeah, this is uuuuuuuuuugly. Ideally, we'd just not have
// the `--application` and `--environment` flags, or they would become
// this, and then disappear from the `hab svc load` command.
//
// For now, though, these at least provide a place to supply the
// information; we can revise as we go.


For now, though, these at least provide a place to supply the
information; we can revise as we go.
For now though these at least provide a place to supply the information ; we can revise as we go .
fn add_event_stream_options(app: App<'static, 'static>) -> App<'static, 'static> {
    app.arg(Arg::with_name("EVENT_STREAM_APPLICATION").help("The name of the application for \
                                                             event stream purposes. This is \
                                                             distinct from the `--application` \
                                                             flag (which may be going away), and \
                                                             will be attached to all events \
                                                             generated by this Supervisor.")
                                                      .long("event-stream-application")
                                                      .required(true)
                                                      .takes_value(true)
                                                      .validator(non_empty))
       .arg(Arg::with_name("EVENT_STREAM_ENVIRONMENT").help("The name of the environment for \
                                                             event stream purposes. This is \
                                                             distinct from the `--environment` \
                                                             flag (which may be going away), and \
                                                             will be attached to all events \
                                                             generated by this Supervisor.")
                                                      .long("event-stream-environment")
                                                      .required(true)
                                                      .takes_value(true)
                                                      .validator(non_empty))
       .arg(Arg::with_name("EVENT_STREAM_URL").help("The event stream connection string \
                                                     (host:port) used by this Supervisor to send \
                                                     events to a messaging server.")
                                              .long("event-stream-url")
                                              .required(true)
                                              .takes_value(true)
                                              .validator(non_empty))
       .arg(Arg::with_name("EVENT_STREAM_SITE").help("The name of the site where this Supervisor \
                                                      is running. It is used for event stream \
                                                      purposes.")
                                               .long("event-stream-site")
                                               .takes_value(true)
                                               .validator(non_empty))
       .arg(Arg::with_name(AutomateAuthToken::ARG_NAME).help("An authentication token for \
                                                              streaming events to an messaging \
                                                              server.")
                                                       .long("event-stream-token")
                                                       .required(true)
                                                       .takes_value(true)
                                                       .validator(AutomateAuthToken::validate)
                                                       .env(AutomateAuthToken::ENVVAR))
       .arg(Arg::with_name(EventStreamMetadata::ARG_NAME).help("An arbitrary key-value pair to \
                                                                add to each event generated by \
                                                                this Supervisor")
                                                         .long("event-meta")
                                                         .takes_value(true)
                                                         .multiple(true)
                                                         .validator(EventStreamMetadata::validate))
}
fn add_event_stream_options ( app : App < ' static , ' static > ) -> App < ' static , ' static > { app . arg ( Arg :: with_name ( " " ) . help ( " \
 \
 \
 \
 \
 " ) . long ( " " ) . required ( true ) . takes_value ( true ) . validator ( non_empty ) ) . arg ( Arg :: with_name ( " " ) . help ( " \
 \
 \
 \
 \
 " ) . long ( " " ) . required ( true ) . takes_value ( true ) . validator ( non_empty ) ) . arg ( Arg :: with_name ( " " ) . help ( " \
 \
 " ) . long ( " " ) . required ( true ) . takes_value ( true ) . validator ( non_empty ) ) . arg ( Arg :: with_name ( " " ) . help ( " \
 \
 " ) . long ( " " ) . takes_value ( true ) . validator ( non_empty ) ) . arg ( Arg :: with_name ( AutomateAuthToken :: ARG_NAME ) . help ( " \
 \
 " ) . long ( " " ) . required ( true ) . takes_value ( true ) . validator ( AutomateAuthToken :: validate ) . env ( AutomateAuthToken :: ENVVAR ) ) . arg ( Arg :: with_name ( EventStreamMetadata :: ARG_NAME ) . help ( " \
 \
 " ) . long ( " " ) . takes_value ( true ) . multiple ( true ) . validator ( EventStreamMetadata :: validate ) ) }
TODO (CM): yeah, this is uuuuuuuuuugly.
TODO ( CM ) : yeah this is uuuuuuuuuugly .
app
App<'static, 'static>
app
App<'static, 'static>