abra app config -> abra app env edit #722

Open
opened 2025-11-04 23:20:01 +00:00 by decentral1se · 3 comments
Owner

Spin off of #712 from @pharaohgraphy which led to the confusion of thinking "config" was "env vars" because abra app config edits the env var file 🙃 And in unreleased abra, this abra app env sub-command is developing a bit (see below). I like how show abra app config ... is but having abra app env & abra app config is kind of UI/UX smell. What about decomissioning abra app config and just doing abra app env edit. Thoughts?

➜ abra main ✓ ./abra app env -h
Manage app environment values

Usage:
abra app env [command]

Aliases:
env, e

Available Commands:
list List all app environment values
pull Pull app environment values from a deployed app

Global Flags:
-d, --debug show debug messages
-h, --help help for abra
-n, --no-input toggle non-interactive mode
-o, --offline prefer offline & filesystem access

Use "abra app env [command] --help" for more information about a command.

Spin off of https://git.coopcloud.tech/toolshed/abra/issues/712 from @pharaohgraphy which led to the confusion of thinking "config" was "env vars" because `abra app config` edits the env var file 🙃 And in unreleased `abra`, this `abra app env` sub-command is developing a bit (see below). I like how show `abra app config ...` is but having `abra app env` & `abra app config` is kind of UI/UX smell. What about decomissioning `abra app config` and just doing `abra app env edit`. Thoughts? > ➜ abra main ✓ ./abra app env -h > Manage app environment values > > Usage: > abra app env [command] > > Aliases: > env, e > > Available Commands: > list List all app environment values > pull Pull app environment values from a deployed app > > Global Flags: > -d, --debug show debug messages > -h, --help help for abra > -n, --no-input toggle non-interactive mode > -o, --offline prefer offline & filesystem access > > Use "abra app env [command] --help" for more information about a command.
decentral1se added the
question
design
labels 2025-11-04 23:20:01 +00:00
Member

config is confusing as they are simply Docker env vars, we aren't trying to pull wool over people's eyes and we want this ecosystem to be as transparent & friendly as possible, so I would say we should can abra app config .. completely, and hail the new env command 🙌

`config` is confusing as they are simply Docker env vars, we aren't trying to pull wool over people's eyes and we want this ecosystem to be as transparent & friendly as possible, so I would say we should can `abra app config ..` completely, and hail the new `env` command 🙌
Author
Owner

To note, for backwards compatibility / scripts: I believe it is possible to hide a command from the listing but keep it working. We could add a deprecation warning to abra app config to point to the new command and eventually migrate away.

So it's just a question of UI/UX and hopefully not breaking workflows. This is to be verified if people like the idea.

To note, for backwards compatibility / scripts: I believe it is possible to hide a command from the listing but keep it working. We could add a deprecation warning to `abra app config` to point to the new command and eventually migrate away. So it's just a question of UI/UX and hopefully not breaking workflows. This is to be verified if people like the idea.
Owner

+0 on this as long as abra app config remains working (even if hidden) – I would guess "config" is friendlier than "env" for people who aren't super deep into Docker (which isn't a required mistake skill for operators generally), but I agree that having both config and env is weird.

+0 on this as long as `abra app config` remains working (even if hidden) – I would guess "config" is friendlier than "env" for people who aren't super deep into Docker (which isn't a required ~mistake~ skill for operators generally), but I agree that having both `config` and `env` is weird.
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#722
No description provided.