Tags: thomasf/ff
Tags
v3 (peterbourgon#58) * Bump to v3, no changes yet * NoExecError: when terminal command has no func Exec * WithEnvVarIgnoreCommas -> WithEnvVarSplit * Priority: env file args -> file env args * go mod tidy * Update READMEs with v3
Add support for TOML tables to fftoml package (peterbourgon#48) * Add support for TOML tables to fftoml package * Make fftoml flag name separator configurable * Export fftoml config as ConfigFileParser and rename FlagSeparator as TableDelimeter * Update fftoml/fftoml_test.go Restructure call to ff.Parse Co-Authored-By: Peter Bourgon <peterbourgon@users.noreply.github.com> * Correct Delimeter -> Delimiter typo in fftoml package
ffcli: opinionated helpers for building commandline applications (pet… …erbourgon#34) * fftest: default Vars.D to zero value The non-zero value in the flag default wasn't serving a useful purpose and was making writing clean tests needlessly difficult. * ffcli: add basic Command type * fftest: Compare: in error cases, don't test var values * ffcli: Command: clarify Options precedence * Help output and example * Make test for Command.Run a little more forgiving * Clean up identifier names in objectctl * Clean up and document Command type * ffcli: minor e.g. comment cleanups
Minor fixes and refactorings (peterbourgon#28) * Use builds.sr.ht and update README * Attempt to fix .build.yml * fftest: test helpers * fftest helper package * Improve fftest and use it everywhere * Slightly more explicit fields in fftest.Vars * Use fftest.Vars.F in TestParseBasics * ff.StringConversionError can be re-used
Move TOML parser to fftoml package. (peterbourgon#22) * Move TOML parser to fftoml package. * Remove sub-module for fftoml * Bump module to v2 * Bump module version back to v1 The TOML parser was added after the last v1.1.0 release, so no major version bump is necessary.
PlainParser: hash in value isn't a comment (peterbourgon#17) Closes peterbourgon#16.
PreviousNext