Comments (1)
I changed the cligen/argcvt.nim auto-help for enums. Those auto-helps are really only placeholders. Anyone even remotely picky/choosy/selective about help messages is expected to add their own help = { "quality": "one of: low, medium, high" }
. I would have taken it out of doc comments, too, if that were a convention in Nim code for parameters (like in Java), but it is not.
I would have to punch a new release for this to be nimble-available. I could do that, but I literally just did one yesterday. And maybe you will come up with other ideas. So, I'll give it a few days at least.
I also added nimble as a first, git cone a 2nd idea. { Competent friends have conveyed to me that nimble is undependable (and I personally find it to have various problems). } Since, in my experience, writing a little CLI tool is how many people try out a new prog.lang., and since nimble seems "rough", I try to keep cligen from depending upon anything else, including the package manager and including those install instructions. But I am ok with "dual dependency" as per the new text, and nimble priority as "simpler when it works".
Github recently-ish moved to https only breaking that. I hadn't noticed. Thanks. Fixed along with At -> at.
The grammar at the end of the readme is/was (I think) technically correct but the idea is confusing/complex - a (singular) starting point for (plural) usages is the (singular grammatically of a plural thing) collection of things. I just made it all plural and re-arranged it. Not sure if it's better. { It's also not quite absolutely correct in that there are probably 3 or 4 advanced usages just "tacked on" to existing test programs. }
from cligen.
Related Issues (20)
- FR: Display textual representations of available enum values in the `clValType` column HOT 9
- How do I make global options? HOT 14
- [Bug] nim 1.0.6/1.4.8 doesn't have isNaN/isnan HOT 3
- How to use `--version`? HOT 4
- truncate default args in help menu HOT 5
- Sharing param help messages between commands HOT 2
- Removing entries from a seq results in a non-zero exit HOT 10
- Setting `clCfg.helpSyntax = ""` doesn't prevent inclusion of the syntax into the binary HOT 15
- No error for passing non-static table to `help` or `short` of `dispatch` HOT 1
- No interpolation of const values in a literal passed to `help` or `short` of `dispatch` HOT 9
- [Feature request] Support for std/options HOT 7
- Sync `clCfg.version` with package HOT 3
- turning off prefix completion? HOT 14
- How to bold usage and clCfg.useHdr text from code? HOT 16
- `--help` on the multicommand programs without the command should at least list the available commands HOT 13
- "Bad enum value" response starts to and then doesn't list alternatives to the empty string HOT 2
- `strUt` requires Nim 1.2+ HOT 1
- Error: undeclared identifier: shallowCopy HOT 4
- Is there a way to use cligen in rpc style? HOT 4
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 cligen.