Comments (1)
There is a more important reason to wrap the argument type.
The Type type is actually a reflection type, although it resides in System (as does Attribute). Information on a type will be different in source generation, and a JSON CLI definition (resulting in dictionary or dynamic results) would be different again.
This is seen in the fact the ArgumentType is retrieved in the Specific layer, not the General layer. However, the type returned is a Reflection type - that's not going to work. See #56
This also allows more validation/tab completion to be driven by the type allowing that to be an internal choice - although it isn't yet evident where that choice resides.
from command-line-api-starfruit.
Related Issues (20)
- Support Invoking methods named Invoke
- DefaultValues from parameter defaults
- Invoke Method parameters as options/arguments
- SubCommand shape expresion HOT 1
- Easier to read entry points
- Arguments appearing on parent and derived command
- Add -- in front of aliases
- Command names expect to be capitilized HOT 1
- Hosting needs to manage command line args
- Model binding fails for Argument identified with Arg suffix
- Better error on passing null entryMethod or entryType to RoootCommandDescriptor creation
- Pass parser errors back to user
- Failing to bind SubCommands HOT 1
- Support global options
- Descriptions from DescriptionSource
- Simplify Strategies
- Add SymbolSpecific rules HOT 1
- Provide Strategy Report in markdown
- Make Strategy reports available
- Expand or rename GetCandidatesRules
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 command-line-api-starfruit.