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

Method requires_auth

crates/chat-cli/src/cli/mod.rs:139–141  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

137 }
138
139 pub fn requires_auth(&self) -> bool {
140 matches!(self, Self::Chat(_) | Self::Profile)
141 }
142
143 pub async fn execute(self, os: &mut Os) -> Result<ExitCode> {
144 // Check for auth on subcommands that require it.

Callers 1

executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected