env:set
Set environment variables interactively or via subcommands.
Usage
splent env:set [--wizard]
splent env:set mode
splent env:set github
splent env:set pypi
splent env:set developer
Examples
Run the full interactive setup wizard:
splent env:set --wizard
Set only GitHub credentials:
splent env:set github
Options
| Option | Description |
|---|---|
--wizard |
Run the full interactive wizard covering all variable groups. |
Subcommands
| Subcommand | Description |
|---|---|
mode |
Set SPLENT_ENV (dev/prod). |
github |
Set GITHUB_USER and GITHUB_TOKEN. |
pypi |
Set TWINE_USERNAME and TWINE_PASSWORD. |
developer |
Set developer-specific variables. |
Description
Reads the current .env, prompts for new values interactively, and writes the updated variables back. Existing values are shown as defaults — press Enter to keep them.
Values are written directly to the .env file in the workspace root.