Skip to content

Commit

Permalink
Refine CHANGELOG.md and REAMDE.md
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Oct 21, 2020
1 parent 07b7acf commit fc1dbb0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ We refer to [GitHub issues](https://github.com/adr/adr-log/issues) by using `#NU
### Added

- New option `-p` - prefix for each ADR file path in log (useful when ADRs are in sub sub directory)
- New option `-e` option to specify glob pattern for files to be excluded
- Allow date prefixes as well as number prefixes
- Allow specification of `index` or `date` properties in frontmatter

### Fixed

Expand All @@ -20,6 +23,7 @@ We refer to [GitHub issues](https://github.com/adr/adr-log/issues) by using `#NU
### Changed

- Lists are now generated using `*` instead of `-`
- Search recursively underneath the given directory

## [2.1.3] – 2019-11-15

Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
Install with [npm](https://www.npmjs.com/):

```sh
$ npm install -g adr-log
npm install -g adr-log
```

## CLI
Expand Down Expand Up @@ -55,7 +55,7 @@ Consider a directory consisting of three files (`0000-example-1.md`, `0001-examp
Execute following command:

```sh
$ adr-log -d .
adr-log -d .
```

This outputs following log on your console:
Expand Down Expand Up @@ -91,6 +91,13 @@ Result in following `index.md`:
<!-- adrlogstop -->
```

### Alternative Indexing

- search recursively underneath the given directory
- allow date prefixes as well as number prefixes
- allow specification of `index` or `date` properties in frontmatter
- fallback to auto-numbering for ADRs without filename prefixes or frontmatter

## Developing

- Run `node cli.js` to execute the CLI.
Expand Down

0 comments on commit fc1dbb0

Please sign in to comment.