Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
separate tempaltes
Browse files Browse the repository at this point in the history
  • Loading branch information
keremciu committed Apr 14, 2021
1 parent 7d86613 commit 401a111
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm install -g adr-tool
$ adr-tool COMMAND
running command...
$ adr-tool (-v|--version|version)
adr-tool/0.0.1 darwin-x64 node-v14.16.0
adr-tool/0.0.3 darwin-x64 node-v14.16.0
$ adr-tool --help [COMMAND]
USAGE
$ adr-tool COMMAND
Expand Down Expand Up @@ -51,7 +51,7 @@ EXAMPLE
a decision created on ./docs/adr/0001-use-adr-tool.md
```

_See code: [src/commands/create.ts](https://github.com/keremciu/adr-tool/blob/v0.0.1/src/commands/create.ts)_
_See code: [src/commands/create.ts](https://github.com/keremciu/adr-tool/blob/v0.0.3/src/commands/create.ts)_

## `adr-tool help [COMMAND]`

Expand Down Expand Up @@ -86,7 +86,7 @@ EXAMPLE
./docs/adr folder is created!
```

_See code: [src/commands/init.ts](https://github.com/keremciu/adr-tool/blob/v0.0.1/src/commands/init.ts)_
_See code: [src/commands/init.ts](https://github.com/keremciu/adr-tool/blob/v0.0.3/src/commands/init.ts)_

## `adr-tool toc`

Expand All @@ -104,5 +104,5 @@ EXAMPLE
./docs/adr/README.md file is created!
```

_See code: [src/commands/toc.ts](https://github.com/keremciu/adr-tool/blob/v0.0.1/src/commands/toc.ts)_
_See code: [src/commands/toc.ts](https://github.com/keremciu/adr-tool/blob/v0.0.3/src/commands/toc.ts)_
<!-- commandsstop -->
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "adr-tool",
"description": "easy CLI for ADR docs",
"version": "0.0.2",
"version": "0.0.3",
"author": "Kerem Sevencan @keremciu",
"bin": {
"adr-tool": "./bin/run"
Expand Down Expand Up @@ -29,6 +29,7 @@
"files": [
"/bin",
"/lib",
"/templates",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export const workDir = process.cwd()
export const adrDir = workDir + '/docs/adr/'

const cliDir = path.dirname(fs.realpathSync(__filename))
export const cliTemplatesPath = path.join(cliDir + '/templates/')
export const cliTemplatesPath = path.join(cliDir + '/../templates/')
File renamed without changes.
File renamed without changes.

0 comments on commit 401a111

Please sign in to comment.