MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / valid_for_telemetry

Method valid_for_telemetry

crates/chat-cli/src/cli/mod.rs:135–137  ·  view source on GitHub ↗

Whether the command should have an associated telemetry event. Emitting telemetry takes a long time so the answer is usually no.

(&self)

Source from the content-addressed store, hash-verified

133 ///
134 /// Emitting telemetry takes a long time so the answer is usually no.
135 pub fn valid_for_telemetry(&self) -> bool {
136 matches!(self, Self::Chat(_) | Self::Login(_) | Self::Profile | Self::Issue(_))
137 }
138
139 pub fn requires_auth(&self) -> bool {
140 matches!(self, Self::Chat(_) | Self::Profile)

Callers 1

executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected