dottie

Simplify working with .env files

MIT License

Stars
11
dottie - v0.7.1

Published by jippi 9 months ago

  • fix update disabling keys with same value as default
dottie - v0.7.0

Published by jippi 9 months ago

  • More robust insert before/after
  • More robust error handling
dottie - v0.6.10

Published by jippi 9 months ago

  • Fix interpolation happening on single-quoted strings
dottie - v0.6.9

Published by jippi 9 months ago

  • more validation
dottie - v0.6.8

Published by jippi 9 months ago

  • even better validation handling
dottie - v0.6.7

Published by jippi 9 months ago

  • more validation improvements
dottie - v0.6.6

Published by jippi 9 months ago

  • make dottie update pretty
  • make dottie update work on local files
dottie - v0.6.5

Published by jippi 9 months ago

dottie - v0.6.4

Published by jippi 9 months ago

  • only interpolate active key/value assignments
dottie - v0.6.3

Published by jippi 9 months ago

  • more validation human explanations
dottie - v0.6.2

Published by jippi 9 months ago

  • Tweaked linters
  • Improve shell-completion logic to work more reliable
  • Removed more shared code in favor of command-specific initialization
  • Added BoolWithInverse flag to have both --thing and --no-thing flags for booleans by default
  • Reworked filtering and rendering logic
  • allow opting out of fixers in validation logic
dottie - v0.6.1

Published by jippi 9 months ago

  • Shell auto-complete for most commands / keys
  • Slight refactoring of rendering engine
dottie - v0.6.0

Published by jippi 9 months ago

  • Change CLI framework from urfave/cli to spf13/cobra
  • Prettier CLI error output
dottie - v0.5.0

Published by jippi 9 months ago

  • Pinned Go to ~1.27 to avoid upstream Go releases accidentally breaking behavior.
  • Included proper -v / VERSION information in the build binary.
  • dottie set now supports multiple KEY=VALUE pairs instead of just one.
    • Before: dottie set KEY value
    • After: dottie set KEY=value KEY2=VALUE [...]
  • dottie set --commented is now dottie set --disabled to better match dottie enable and dottie disable commands
  • dottie set --skip-validation is now dottie set --validate
  • dottie set --quote-style now has proper CLI flag validation.
  • dottie set flags now have proper help and usage information
dottie - v0.4.0

Published by jippi 9 months ago

  • update .env.example with @dottie/source and final formatting rules
  • dottie set now does validation before saving the file (can be disabled with --skip-validation)
  • (*ast.Assignment) now has a Valid() method to check individual fields requirements
  • (*ast.Document) has reworked Interpolate logic that will now account for only considers os.Getenv and lines before the interpolated assignment, to match how shells would interpolate
  • Validation error explainer now supports oneof and non-vaildation error types
dottie - v0.3.1

Published by jippi 9 months ago

  • Fixed dottie update logic
dottie - v0.3.0

Published by jippi 9 months ago

  • cleaned up formatting / rendering with all tests passing 🎉
dottie - v0.2.0

Published by jippi 9 months ago

  • reworked formatting internals
  • added tests for formatting .env files
  • introduced fmt command to ... format an .env file
  • ensure fmt adds a newline to end of the formatted file
dottie - v0.1.0

Published by jippi 9 months ago

initial release

dottie - v0.0.10

Published by jippi 9 months ago

v0.0.10