We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
Add option to load config from file. Support both YAML and JSON files (detects dynamically). Configure options:
version.WithPrettyStyleFromEnv("ENV_NAME_FOR_FILE_PATH")
version.WithPrettyStyleFile
Reasons
It enables dynamic styling without the need to know/use Go.
The text was updated successfully, but these errors were encountered:
is anyone working on this? is this available to pick up?
Sorry, something went wrong.
Hi, yes,
IMO we can also support only YAML in the first stage. Later we can "port" NewYAMLOrJSONDecoder :)
NewYAMLOrJSONDecoder
for loading the style configuration, you can take a look on https://github.com/charmbracelet/glamour#styles as they do exactly this :)
sounds good, I'll take a look, sorry for the late responses
Kamsiy
No branches or pull requests
Description
Add option to load config from file. Support both YAML and JSON files (detects dynamically). Configure options:
version.WithPrettyStyleFromEnv("ENV_NAME_FOR_FILE_PATH")
,version.WithPrettyStyleFile
.Reasons
It enables dynamic styling without the need to know/use Go.
The text was updated successfully, but these errors were encountered: