mikkurogue / dagger

A small cli tool to help setup a developer environment with a simple step setup.
https://mikkurogue.github.io/dagger/
MIT License
2 stars 0 forks source link

.daggercfg for setup #12

Open mikkurogue opened 2 months ago

mikkurogue commented 2 months ago

Create a .daggercfg file on first run.

Each install action (package, alias, editor etc) should be added to the file so the a next time run will know what is and isn't installed.

Requirements:

File creation in home dir (~/.daggercfg) Read and append to file Parse file contents Only allow specific content/key-value pairs Allow comments in file, comments start with # sign No inline comments, only on separate lines

mikkurogue commented 2 months ago

Branch https://github.com/mikkurogue/dagger-cli/tree/feat/dagger-config contains the initial setup.

mikkurogue commented 2 months ago

Initial version merged to main in #13

For now the config does not actually do anything but it writes out what each install does

Not sure yet how I want to interpret this, or if I should call it a .dgrlog to essentially make a logfile instead of a config.

Open to ideas