Similar to how pod cache works, meaning, it outputs the same thing as pod cache --help, it would be nice if this package would support it as well.
I tried this hacky workaround:
@Flag
var help = true
but it fails with the error
ArgumentParser/ParsableArguments.swift:256: Fatal error: Validation failed for `ConfigCommand`:
- One or more Boolean flags is declared with an initial value of `true`.
This results in the flag always being `true`, no matter whether the user
specifies the flag or not.
To resolve this error, change the default to `false`, provide a value
for the `inversion:` parameter, or remove the `@Flag` property wrapper
altogether.
Affected flag(s):
--help
Similar to how
pod cache
works, meaning, it outputs the same thing aspod cache --help
, it would be nice if this package would support it as well.I tried this hacky workaround:
but it fails with the error