Comments (2)
I've forked this and begun trying to implement it myself and it is a bit more complex than I'd hoped because of the current design. I'll see if I can't figure it out without changing too much, but we'll see how plausible this really is.
I could easily make Array conform to FlagValue and just split results on a comma or some designated separator, but then you could run into issues where your whole input string and its individual values may both contain the separator character and you've got to figure out how to distinguish between them. So I'd rather have the more familiar usage of just specify an argument multiple times to avoid this kind of complexity.
from guaka.
@Ponyboy47 Thanks for trying this. I agree that options should be able to be used multiple times, as it follows the POSIX guidelines. Awaiting your PR.
from guaka.
Related Issues (20)
- Inheritable flags. (Feature Request)
- I think we can improve on the icon HOT 1
- Error issuing the --help flag on create command HOT 1
- Manually implementing Guaka issue HOT 2
- Add badges HOT 2
- Consider overloading the Flags subscript instead of including types in method names HOT 1
- Rework the landing page getguaka.com HOT 2
- Improve method of failing a command HOT 4
- homebrew install fails with 404 error HOT 2
- Async code HOT 1
- Couldn't find a way to setup a password flag value(secure text) ?
- Default Xcode project
- inheritablePreRun is not recursive HOT 1
- Escape values HOT 1
- Rewrite release script for Guaka Generator
- Multiple longNames HOT 4
- How to properly fail a command? HOT 3
- Replace usage of the printToConsole method HOT 1
- Add root command fallback to a subcommand
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guaka.