Skip to content

feat(cli): add persistent configuration management commands #36

Description

@tao-xiaoxin

Summary

Add a devspace config command family for inspecting and updating persisted DevSpace settings without rerunning init.

Proposed commands

devspace config
devspace config host <host>
devspace config port <port>
devspace config domain <domain>
devspace config key <key>
  • devspace config prints effective settings as JSON with the Owner password masked.
  • domain accepts a hostname/domain and derives the public /mcp URL automatically.
  • key requires an explicit Owner password, does not echo it, and revokes persisted OAuth clients and tokens.
  • Existing config get and config set publicBaseUrl <url|null> remain compatible.
  • devspace without arguments prints help; devspace serve starts the server.

Implementation scope

The accompanying PR includes validation, persistence, OAuth-session revocation, CLI/help coverage, CI-safe tests, and README/documentation updates. It does not add service lifecycle management or automatic restarts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions