Skip to content

feat: add rlmx config command for global settings#40

Merged
namastex888 merged 1 commit intodevfrom
feat/cli-settings
Mar 30, 2026
Merged

feat: add rlmx config command for global settings#40
namastex888 merged 1 commit intodevfrom
feat/cli-settings

Conversation

@namastex888
Copy link
Copy Markdown
Collaborator

Summary

  • rlmx config set/get/list/delete/path for managing ~/.rlmx/settings.json
  • API keys injected into process.env at startup — no shell exports needed
  • Sensitive keys always masked in output (get + list)
  • Type coercion for booleans and numbers
  • File permissions: 0600

Test plan

  • 158/158 tests pass (16 new)
  • rlmx config set GEMINI_API_KEY <key> → saves, masked in output
  • rlmx config get GEMINI_API_KEY → shows masked value
  • rlmx "query" works with key from settings.json (no env export)
  • File permissions are 600

Wish: cli-settings

- `rlmx config set/get/list/delete/path` subcommands
- Settings stored in ~/.rlmx/settings.json with 0600 permissions
- API keys injected into process.env at startup (env vars take priority)
- Sensitive keys (API_KEY, SECRET, TOKEN) always masked in output
- Type coercion: booleans, numbers auto-detected from string input
- 16 new tests (158 total, all passing)

Wish: cli-settings
@namastex888 namastex888 merged commit d8970bb into dev Mar 30, 2026
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 30, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 3c8e8c20-84c7-419d-8a52-8707f6924608

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/cli-settings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants