Coder Social home page Coder Social logo

Arg Commands about powerargs HOT 11 CLOSED

adamabdelhamed avatar adamabdelhamed commented on September 4, 2024
Arg Commands

from powerargs.

Comments (11)

alexfalkowski avatar alexfalkowski commented on September 4, 2024

Any thoughts on this?

from powerargs.

adamabdelhamed avatar adamabdelhamed commented on September 4, 2024

I'm not sure if this is a dumb question, but what is the significance/benefit of the two dashes?

from powerargs.

alexfalkowski avatar alexfalkowski commented on September 4, 2024

Not a dumb question at all. It is all to do with standards you can read more about this

http://superuser.com/questions/372203/whats-the-difference-between-one-dash-and-two-dashes-for-command-prompt-paramet (look at the third post)

The reason I want it is that the tool is supported on OSX and hopefully linux. This is their standard.

from powerargs.

adamabdelhamed avatar adamabdelhamed commented on September 4, 2024

I want to confirm before I start coding. If there was an attribute with usage like this:

[ArgLongVersion("my-long-version")]

And it let you also use the syntax --my-long-version=value would that do the trick?

from powerargs.

alexfalkowski avatar alexfalkowski commented on September 4, 2024

That looks fine :)

from powerargs.

adamabdelhamed avatar adamabdelhamed commented on September 4, 2024

Great. I have it mostly coded. I'll write a few tests and probably push it out Monday morning (US Pacific).

A few notes on what I've built:
- It will support multiple long versions per argument since it looks like that's common from the examples you've sent.
- It will show up via ArgUsage.GetUsage() so the documentation will reflect these aliases.

from powerargs.

alexfalkowski avatar alexfalkowski commented on September 4, 2024

That will be great looking forward to it.

from powerargs.

adamabdelhamed avatar adamabdelhamed commented on September 4, 2024

Sorry this isn't in yet. It should be in sometime this week.

from powerargs.

alexfalkowski avatar alexfalkowski commented on September 4, 2024

Thanks mate :)

from powerargs.

adamabdelhamed avatar adamabdelhamed commented on September 4, 2024

Any feedback on this one? Is it working as you expected?

from powerargs.

alexfalkowski avatar alexfalkowski commented on September 4, 2024

So far so good mate.

from powerargs.

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.