GithubHelp home page GithubHelp logo

Comments (4)

numToStr avatar numToStr commented on August 25, 2024 2

Great, I'll create a PR soon so that we can talk on designing the new CLI.

from volt.

suptejas avatar suptejas commented on August 25, 2024

That's a great idea - my concern is: do we lose the opportunity to customize help menus and usage menus?

I vaguely remember trying to implement parsing using structs (structopt) however, I found that there was less customizability and configuration options. Do let me know if things have changed since then / if there's a way of using the derive feature with customizability for help menus and usage menus.

If you're wondering why I'm specific about customizing these menus - it's because I want to display very helpful messages specific to Volt. Yarn, Npm and Pnpm have great CLI's with very helpful menus and multiple usage examples.

from volt.

numToStr avatar numToStr commented on August 25, 2024

do we lose the opportunity to customize help menus and usage menus?

IIRC, you can still override it.

If you're wondering why I'm specific about customizing these menus - it's because I want to display very helpful messages specific to Volt. Yarn, Npm and Pnpm have great CLI's with very helpful menus and multiple usage examples.

Well the inbuilt help generation of clap is pretty robust with ability to extend it. Also the generated help doc is fully depends on how you structure the CLI. In my experience, I never feel like anything is lacking but still depends on volt use case.

from volt.

suptejas avatar suptejas commented on August 25, 2024

Perfect, as long as we can override it this would be a great thing to implement

from volt.

Related Issues (14)

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.