Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions libshpool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,14 @@ environment.")]
sessions: Vec<String>,
},

#[clap(about = "Subscribe to the daemon's push-event stream

Connects to the events socket and writes each event (one JSON object
per line) to stdout, flushing after every line so the stream is
pipeline-friendly (e.g. `shpool events | jq`). See EVENTS.md for
details.")]
Events,

#[clap(about = "Kill the given sessions

This detaches the session if it is attached and kills the underlying
Expand Down Expand Up @@ -255,14 +263,6 @@ you could just do `shpool var set workspace key-bugfix`.
#[clap(subcommand)]
command: VarCommands,
},

#[clap(about = "Subscribe to the daemon's push-event stream

Connects to the events socket and writes each event (one JSON object
per line) to stdout, flushing after every line so the stream is
pipeline-friendly (e.g. `shpool events | jq`). See EVENTS.md for
details.")]
Events,
}

/// The subcommds of the var command.
Expand Down
Loading