Skip to content

fix(config): default CLI to production service#9

Merged
DeanThompson merged 1 commit into
mainfrom
develop
May 12, 2026
Merged

fix(config): default CLI to production service#9
DeanThompson merged 1 commit into
mainfrom
develop

Conversation

@DeanThompson
Copy link
Copy Markdown
Member

Summary

Changes the fresh-install APIMux CLI default service URL from local development to production: https://apimux.io/api/core.

Motivation

The distributed CLI should be usable immediately after install with only API key/auth setup. Localhost is a developer override, not the product default.

Changes

  • Adds shared config.DefaultBaseURL set to the production service URL.
  • Uses the shared default in config loading, root pre-run fallback, and persistent flag preprocessing.
  • Adds tests for fresh config default, help output default, config output source, and persistent-arg fallback.
  • Updates README/install/development docs and v1.1.4 changelog.

Testing

  • go test ./...
  • git diff --check
  • APIMUX_CONFIG_DIR=$(mktemp -d) go run ./cmd/apimux config
  • go run ./cmd/apimux --help | rg -- '--base-url'

@DeanThompson DeanThompson merged commit ede2dcf into main May 12, 2026
2 checks passed
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.

1 participant