Git Product home page Git Product logo

Comments (4)

phodal avatar phodal commented on August 17, 2024 1

Hi, @MathieuLavigneCC it's same, and it's also some in my macbook. I could be a bug. Have you try those from source code.

.option('-n', 'create new ADR', create)
.command('new <title>')
  .description('create new ADR')
  .action(create)

if it works, you can just make a PR. I don't have a Ubuntu machine

from adr.

phodal avatar phodal commented on August 17, 2024 1

It's OK to only create Title1 for adr -n Title1 Title2

And then you can also delete option syntax.

from adr.

MathieuLavigneCC avatar MathieuLavigneCC commented on August 17, 2024

Yes it works, I use it as a workaround.
OK, let's go for a PR !

from adr.

MathieuLavigneCC avatar MathieuLavigneCC commented on August 17, 2024

I am working on the PR and here are some use cases I would like to share with you.

Using this syntax :

adr -n Title1 Title2

Creates only "Title1" adr file and not "Title2". How about you ?

It feels like this is not the proper way to use commander lib. You may not agree. I am wondering if this option syntax (a single "n" with a dash) is appropriate ? Maybe the command syntax is better suitable. For instance this syntax :

adr -n Title1 Title2

Should be deleted and replaced by :

adr new Title1 Title2

For all commands (new, list, update, etc...). May I delete every option syntax and replace them with command syntax ?

from adr.

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.