Git Product home page Git Product logo

Comments (5)

mitchellh avatar mitchellh commented on July 28, 2024

Yes

I'll get started on this soon.

from cli.

dadgar avatar dadgar commented on July 28, 2024

@mitchellh What are you thinking of doing? Another filter function? It may be nice to just have simple structs that define commands/flags that can be passed in and these have options on them, like hiding them that would effect auto-complete and normal help output.

Would make it possible to add interfaces on them so that help could be auto-generated etc. Having flag sets attached to the command would be nice. Auto-complete will need to parse flags as well so everyone will need to hack together separate solutions at this point.

I believe @sethvargo has some nice flags structs in a Vault PR.

from cli.

mitchellh avatar mitchellh commented on July 28, 2024

I'm not planning on touching flags at all, this is just a command-level thing to hide from the help map and the autocomplete map.

from cli.

dadgar avatar dadgar commented on July 28, 2024

@mitchellh Understood. Was just suggesting it may be worth taking another look at this now that all the tools are building slightly separate solutions arounds help output/flags/autocomplete/etc

from cli.

mitchellh avatar mitchellh commented on July 28, 2024

I don't think this will affect that, since hidden/not hidden will always be a parent feature you'd want over fine tuning help output. I think flags should be taken a look at as soon as we look at help more seriously since those are tied together.

from cli.

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.