flagly icon indicating copy to clipboard operation
flagly copied to clipboard

The easier way to parsing command-line flag in Golang, also building a command line app.

Results 4 flagly issues
Sort by recently updated
recently updated
newest added

try this configuration string: type Config struct { MeasurePercent int `name:"measure-percent" desc:"measure target percentage" default:50` } because of the `arg` in word `target` this gets hung up in the infinite...

Sometimes the list of command line options can grow big. I would like to have an option to generate a settings file with all default values and comments. So that...

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210630005230-0f9fa26af87c to 0.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/sys&package-manager=go_modules&previous-version=0.0.0-20210630005230-0f9fa26af87c&new-version=0.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

When `flagly.Run(*struct)` is called the handler currently isn't binding `flagly:"parent"` fields to their parent type. This PR fixes that by calling `handler.bindStackToStruct()` in `handler.Run()` so these fields are populated.