diff --git a/package.json b/package.json index 2e23cdd2..c04797fd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "githits", "description": "CLI companion for GitHits - code examples from global open source for developers and AI assistants", - "version": "0.1.2", + "version": "0.1.3", "type": "module", "files": [ "dist", diff --git a/src/cli.ts b/src/cli.ts index b3b38829..4d9ad04c 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -31,7 +31,9 @@ Getting started: githits mcp Start MCP server for your AI assistant githits search "query" --lang python Search for code examples -Learn more at https://githits.com`, +Learn more at https://githits.com +Docs: https://app.githits.com/docs/ +Support: support@githits.com`, ); // Auth commands diff --git a/src/shared/require-auth.test.ts b/src/shared/require-auth.test.ts index 811b410d..61ecfe8e 100644 --- a/src/shared/require-auth.test.ts +++ b/src/shared/require-auth.test.ts @@ -19,6 +19,7 @@ describe("requireAuth", () => { const output = consoleSpy.mock.calls.map((c) => c[0]).join("\n"); expect(output).toContain("Authentication required"); expect(output).toContain("githits login"); + expect(output).toContain("support@githits.com"); consoleSpy.mockRestore(); }); diff --git a/src/shared/require-auth.ts b/src/shared/require-auth.ts index 1ad2ba37..8aa1927a 100644 --- a/src/shared/require-auth.ts +++ b/src/shared/require-auth.ts @@ -36,6 +36,7 @@ export function requireAuth( console.log("To authenticate:"); console.log(" githits login\n"); console.log("Or set GITHITS_API_TOKEN environment variable."); + console.log("\nNeed help? support@githits.com"); throw new AuthRequiredError(`Authentication required${suffix}`); }