Comments (2)
I was trying the following:
ratio := cmd.Float32(cli.Float32Opt{
Name: "r ratio",
Value: 0.8,
Desc: "ratio",
EnvVar: "RATIO",
})
Any plans of adding this?
from mow.cli.
Hi and thanks for raising the issue.
I'll work on this as soon as I can find the time.
a PR would be more than welcome (and should not be very hard to implement) 👍 😋
from mow.cli.
Related Issues (20)
- Display missing required params
- Expose a model of the command structure HOT 6
- StringsOpt can not start with dashes HOT 12
- Custom exiter
- Implement out-of-the-box support for shell autocompletion (source code available!)
- Possible bug with option specs HOT 2
- Extension: check docker containerized starter with mow.cli as default
- Example of writing test HOT 1
- Global StringArg + command: contextual help does not work HOT 4
- Wrapping long spec strings
- Extension: Quick start template HOT 1
- BoolsOpt() for repeated flags (Boolean options)? HOT 1
- Spec is not inferred correctly for multi-value argument
- Please make a release that includes the go.mod file HOT 3
- Inter-option ordering HOT 3
- Provide a way to mark options as un-ordered HOT 1
- Associate option values with specific arguments
- Cannot use exclusive choices with OPTIONS
- The default value of the empty default option is not printed correctly HOT 1
- Add support to make a command hidden in cli
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 mow.cli.