Skip to content
New issue

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

Add map values #7

Open
2 tasks
m0sth8 opened this issue Dec 30, 2016 · 3 comments
Open
2 tasks

Add map values #7

m0sth8 opened this issue Dec 30, 2016 · 3 comments
Assignees

Comments

@m0sth8
Copy link
Contributor

m0sth8 commented Dec 30, 2016

  • map[string]string
  • map[string]int

Something similar to kingpin`s stringMap implementation https://github.com/alecthomas/kingpin/blob/bf17db2c43f59ff3d97a39d1feacef18d75eaf95/values.go#L135

--map=key1:val1 --map=key2:val2

@m0sth8 m0sth8 self-assigned this Dec 30, 2016
@dolmen
Copy link
Contributor

dolmen commented Jan 19, 2018

I have implemented a generic Map Value in my package github.com/dolmen-go/flagx designed to extend flag.

@furdarius furdarius mentioned this issue Jan 22, 2018
2 tasks
@furdarius
Copy link
Contributor

Can be closed.

dearchap added a commit that referenced this issue Nov 11, 2024
* Add support for urfave/cli.v3

* Update to latest cli v3
@dearchap
Copy link
Contributor

@m0sth8 This feature is already present in sflags correct ? Can I close ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants