Allow for editing abra dir location and other config options #38

Closed
opened 2021-08-03 00:34:34 +00:00 by roxxers · 1 comment

Make this config a struct with properties fro;m attached methods?

Make this config a struct with properties fro;m attached methods?
Owner

Maybe one for a ~/.abra/config.yml?

---
config_dir: "$HOME/.abra"
apps_dir: "$HOME/.abra/apps"
servers_dir: "$HOME/.abra/servers"

The CLI can have a --config <path> (default: ~/.abra/config.yml flag to customise?

Maybe that could follow coop-cloud/go-abra#37 and we create a sort of "CLI context" which is passed down into all dependant logic carrying state such as this config, the docker client and so on. Global things.

Maybe one for a `~/.abra/config.yml`? ```yaml --- config_dir: "$HOME/.abra" apps_dir: "$HOME/.abra/apps" servers_dir: "$HOME/.abra/servers" ``` The CLI can have a `--config <path> (default: ~/.abra/config.yml` flag to customise? Maybe that could follow https://git.coopcloud.tech/coop-cloud/go-abra/issues/37 and we create a sort of "CLI context" which is passed down into all dependant logic carrying state such as this config, the docker client and so on. Global things.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#38
No description provided.