You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking today about team use cases for adrust, and in particular having multiple projects for which you are writing adrs for.
to support this usecase, I propose a configuration profile manager. Since the configuration file is written in TOML, this manager could support the following.
create named profiles
current/default profile
import other config files (you could save a config file in git repository and share it)
to express this visually I have the following examples:
to create the config for the first example:
adr config new --name profile1 # create a new profile with default values
adr config default --name profile1 # set profile1 as default configuration profile
adr config set --name log_level --value 4 # set parameter value as currently done.
...
adr config new --name profile2
adr config set --name log_level --value 4 --profile profile2
...
adr config new --name profile1 # create a new profile with default values
adr config default --name profile1 # set profile1 as default configuration profile
adr config set --name log_level --value 4 # set parameter value as currently done.
...
adr config new --name profile2 --from /path/to/second/config/file.toml # Create file with defaults if !exists
I was thinking today about team use cases for adrust, and in particular having multiple projects for which you are writing adrs for.
to support this usecase, I propose a configuration profile manager. Since the configuration file is written in TOML, this manager could support the following.
to express this visually I have the following examples:
to create the config for the first example:
example config 1:
to create the config for the second example:
example config 2:
or you could mix and match the styles:
example config 3:
The text was updated successfully, but these errors were encountered: