Coder Social home page Coder Social logo

Allow `--help --verbose` about cri HOT 8 CLOSED

denisdefreyne avatar denisdefreyne commented on August 30, 2024
Allow `--help --verbose`

from cri.

Comments (8)

osg avatar osg commented on August 30, 2024

Alternative solution is to write the five extra commands and eliminate the need for --verbose.

from cri.

denisdefreyne avatar denisdefreyne commented on August 30, 2024

I’m assuming you mean the five extra commands from nanoc. They’re hidden on purpose; they’re deprecated so they shouldn’t be shown by default.

from cri.

osg avatar osg commented on August 30, 2024

Is there confusion in removing the line (5 hidden commands omitted; show them with --verbose).

If they are deprecated, why do I need to know about them. Migration information could go into a migration guide or an upgrade guide.

from cri.

denisdefreyne avatar denisdefreyne commented on August 30, 2024

Is there confusion in removing the line (5 hidden commands omitted; show them with --verbose).

That is possible, but it doesn’t solve the problem that --help --verbose doesn’t work as expected, though.

If they are deprecated, why do I need to know about them.

That’s why they’re hidden. Perhaps the message could be updated to say that they are deprecated.

from cri.

osg avatar osg commented on August 30, 2024

I personally would rather not see them at all. That said, I am not upgrading from one version to another at the moment. When I do, I will first check the Upgrade guide rather than the list of commands.

from cri.

denisdefreyne avatar denisdefreyne commented on August 30, 2024

They won’t be removed from nanoc 3.x because nanoc follows semantic versioning.

from cri.

osg avatar osg commented on August 30, 2024

+1 for that rationale.

from cri.

denisdefreyne avatar denisdefreyne commented on August 30, 2024

Closing, as I don’t believe that there is any reasonable way that --help --verbose can print the help verbosely. Cri handles the options in a certain order; --help being evaluated after --verbose is odd (and what about other cases, such as --help --version?).

help --verbose will still work.

from cri.

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.