Skip to content

docs(python-cli): add Basque quickstart guide and discovery links (#13741) - #13742

Merged
kodjima33 merged 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-eu
Sep 17, 2026
Merged

kodjima33 merged 1 commit into
BasedHardware:mainfrom
TheRWX:docs/quickstart-eu

Conversation

@TheRWX

@TheRWX TheRWX commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Resolves #13741. Adds a comprehensive, native Basque (Euskara) quickstart guide for omi-cli located at sdks/python-cli/examples/quickstart.eu.md and registers discovery links in sdks/python-cli/README.md and sdks/python-cli/examples/README.md.

Changes

  • sdks/python-cli/examples/quickstart.eu.md:
    • Clear distinction between package name (omi-cli on PyPI) and command invocation (omi).
    • Isolated installation instructions via pipx and pip.
    • Authentication options: interactive, OAuth browser (Google & Apple via --provider apple), developer API key (--api-key and OMI_API_KEY), verification (status vs whoami), and dedicated logout section (omi auth logout + unset OMI_API_KEY).
    • Explicit API key security caveat (shell history / process table) and saved profile precedence note.
    • Core CLI resources: memories, conversations (including transcripts), action items, and goals (strictly using positional title argument with --type numeric).
    • Structured JSON automation with global --json placement (omi --json <command>), jq pipeline examples, and file pagination (--limit, --offset).
    • Explicit exit codes contract table (codes 0–5) adhering to omi_cli/errors.py, with code 1 scoped strictly to application-level UsageError and Click/Typer parser/parameter errors mapped to code 2.
    • Shell automation examples for Bash/Zsh (with exit code capture), PowerShell (with $LASTEXITCODE), and Windows Command Prompt (%ERRORLEVEL%).
    • Profile switching and persistent staging environment configuration via omi --profile staging config set api_base https://api.staging.omi.me alongside per-command override note.
    • Local desktop API integration with pre-configured endpoint variables (OMI_LOCAL_API_URL="http://127.0.0.1:47778" and OMI_LOCAL_TOKEN), status check, and positional query for search-screen.
    • Security best practices for API key storage, session hygiene, and file permissions (chmod 700 ~/.omi).
  • sdks/python-cli/README.md: Registered Basque localized guide in the discovery callout.
  • sdks/python-cli/examples/README.md: Added Basque quickstart guide to the examples index.

Verification

  • Validated markdown formatting, syntax highlighting, and headers.
  • Verified git diff --check runs clean with zero whitespace errors.
  • Verified command flags and argument signatures match omi_cli codebase.

Bounty Payout Destination: PayPal [email protected]

Review in cubic

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Re-trigger cubic

@Git-on-my-level

Copy link
Copy Markdown
Member

Thanks @TheRWX — I verified this guide against the CLI source before commenting, and it holds up. It resolves #13741 and matches the shape of the merged ja/es/tr/ru/th/bg quickstart series.

Per-file notes (3 changed files):

  • sdks/python-cli/examples/quickstart.eu.md (new, 284 lines) — every claim I checked is accurate against the code:
    • The exit-code table (§5) matches omi_cli/errors.py exactly (0 ok, 1 usage, 2 auth, 3 server, 4 rate-limited, 5 not-found), including the subtle point that Click/Typer parser errors surface as code 2 while app-level UsageError — e.g. passing --browser and --api-key together, guarded in commands/auth.py — exits 1.
    • --json as a global flag placed before the subcommand (§4) matches the root callback in omi_cli/main.py.
    • The precedence note that OMI_API_KEY loses to an already-saved profile key (§2) matches AppContext.get_profile() — a real gotcha most guides miss, good to see it documented.
    • goal create with positional title plus --type numeric --target --unit matches commands/goal.py (title is a positional argument, --target required).
    • local search-screen "<query>" --days --app matches commands/local.py, and OMI_LOCAL_API_URL/OMI_LOCAL_TOKEN match omi_cli/config.py; port 47778 matches the desktop local API default used across existing docs and tests.
    • The shell-history caveat for --api-key mirrors the flag's own help text, and the stderr-vs-empty-file note in §4 is correct and worth having.
  • sdks/python-cli/README.md — one-line addition of the Basque link to the localized-guides sentence; the five existing language links remain intact.
  • sdks/python-cli/examples/README.md — one-line index bullet for quickstart.eu.md. Only trivial nit: its description starts lowercase while the Spanish entry is capitalized — fine to leave as-is if that's intentional sentence casing.

Checks are green. Content is accurate and consistent with the series; leaving the merge call to maintainers in the normal bounty flow.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added the positive-signal Automation verified a genuine fix/quality contribution label Sep 13, 2026

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs: adds Basque quickstart guide (new standalone file) + discovery links. Commands/flags verified against sdks/python-cli source — match. Not merging: PR is DIRTY (merge conflict on the shared README.md localized-guides line), leaving approved per policy (never rebase a PR branch).

@Git-on-my-level Git-on-my-level added the i18n Internationalization / localization changes label Sep 14, 2026

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs: Basque quickstart guide, content verified genuine and technically accurate against sdks/python-cli source (commands, flags, exit codes, port 47778 all confirmed real). CI green. Not merged: mergeStateStatus dirty (conflicts with sibling language PRs on shared README lines).

@kodjima33 kodjima33 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs-correctness verified: CLI commands, flags, exit codes (0-5), and env vars all match omi_cli source at origin/main. CLEAN, CI green.

@kodjima33
kodjima33 merged commit 3beec7f into BasedHardware:main Sep 17, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n Internationalization / localization changes positive-signal Automation verified a genuine fix/quality contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bounty] Add Basque (Euskara) quickstart guide for omi-cli

3 participants