Comments (4)
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.
It's OK to only create Title1 for adr -n Title1 Title2
And then you can also delete option syntax.
from adr.
Yes it works, I use it as a workaround.
OK, let's go for a PR !
from adr.
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)
- feature request: Add `author` field. HOT 2
- Add trailing newline to TOC HOT 1
- bug report: export command error HOT 1
- Detect custom template.md
- No such file docs/adr/undefined HOT 2
- adr export Markdown fails HOT 1
- Custom template.md is included in the html export HOT 1
- feature request: Add status update command HOT 1
- Does it miss the important step after using the command `adr new` HOT 2
- Asset compression support HOT 1
- Cannot create new file (Node 16) HOT 3
- HTML Comments not having the right language HOT 1
- Regular Expression Denial of Service in markdown HOT 1
- $ adr command not found in version 1.4.2 HOT 1
- adr list should not show a list of files before table HOT 1
- 'strict-type-predicates' error occurs on `yarn test`
- adr detail CLI
- Want to force name of generated files normalized in NFC format
- Support for using Asciidoc rather than Markdown HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adr.