docs: add note about not official product more prominently (#115)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@googleworkspace/cli": patch
|
||||
---
|
||||
|
||||
Add prominent disclaimer that this is not an officially supported Google product to README, --help, and --version output
|
||||
@@ -7,6 +7,9 @@
|
||||
**One CLI for all of Google Workspace — built for humans and AI agents.**<br>
|
||||
Drive, Gmail, Calendar, and every Workspace API. Zero boilerplate. Structured JSON output. 40+ agent skills included.
|
||||
|
||||
> [!NOTE]
|
||||
> This is **not** an officially supported Google product.
|
||||
|
||||
<p>
|
||||
<a href="https://www.npmjs.com/package/@googleworkspace/cli"><img src="https://img.shields.io/npm/v/@googleworkspace/cli" alt="npm version"></a>
|
||||
<a href="https://github.com/googleworkspace/cli/blob/main/LICENSE"><img src="https://img.shields.io/github/license/googleworkspace/cli" alt="license"></a>
|
||||
@@ -351,4 +354,5 @@ Apache-2.0
|
||||
|
||||
## Disclaimer
|
||||
|
||||
This is not an officially supported Google product.
|
||||
> [!CAUTION]
|
||||
> This is **not** an officially supported Google product.
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 84 KiB |
@@ -75,6 +75,7 @@ async fn run() -> Result<(), GwsError> {
|
||||
|
||||
if is_version_flag(first_arg) {
|
||||
println!("gws {}", env!("CARGO_PKG_VERSION"));
|
||||
println!("This is not an officially supported Google product.");
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
@@ -397,6 +398,9 @@ fn print_usage() {
|
||||
println!(" Star the repo: https://github.com/googleworkspace/cli");
|
||||
println!(" Report bugs / request features: https://github.com/googleworkspace/cli/issues");
|
||||
println!(" Please search existing issues first; if one already exists, comment there.");
|
||||
println!();
|
||||
println!("DISCLAIMER:");
|
||||
println!(" This is not an officially supported Google product.");
|
||||
}
|
||||
|
||||
fn is_help_flag(arg: &str) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user