Giter Site home page Giter Site logo

Some tiny remarks about cligen HOT 1 CLOSED

StefanSalewski avatar StefanSalewski commented on August 17, 2024
Some tiny remarks

from cligen.

Comments (1)

c-blake avatar c-blake commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.