Open mikkurogue opened 2 months ago
Branch https://github.com/mikkurogue/dagger-cli/tree/feat/dagger-config contains the initial setup.
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
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