urfave / cli

A simple, fast, and fun package for building command line apps in Go
https://cli.urfave.org
MIT License
21.9k stars 1.69k forks source link

Fix:(issue_1850) Add RunAction for uint/uint64 slice flags #1851

Closed dearchap closed 6 months ago

dearchap commented 6 months ago

What type of PR is this?

(REQUIRED)

What this PR does / why we need it:

(REQUIRED)

Make uint and uint64 slice flags implement ActionableFlag interface

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #1850

Special notes for your reviewer:

(fill-in or delete this section)

Testing

(fill-in or delete this section)

Updated TestFlagAction for both valid, error cases

Release Notes

(REQUIRED)