Skip to content

Commit

Permalink
chore(release): 1.6.0
Browse files Browse the repository at this point in the history
## [1.6.0](v1.5.0...v1.6.0) (2024-06-13)

### Features

* add accession number regex flag ([#20](#20)) ([894c94e](894c94e))
  • Loading branch information
semantic-release-bot committed Jun 13, 2024
1 parent 894c94e commit 2ddefc9
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 14 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.6.0](https://github.com/rpidanny/darwin/compare/v1.5.0...v1.6.0) (2024-06-13)

### Features

* add accession number regex flag ([#20](https://github.com/rpidanny/darwin/issues/20)) ([894c94e](https://github.com/rpidanny/darwin/commit/894c94eb17b9133ce48f88678defd5321f16c052))

## [1.5.0](https://github.com/rpidanny/darwin/compare/v1.4.0...v1.5.0) (2024-06-12)

### Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $ npm install -g @rpidanny/darwin
$ darwin COMMAND
running command...
$ darwin (--version)
@rpidanny/darwin/1.5.0 linux-x64 node-v20.14.0
@rpidanny/darwin/1.6.0 linux-x64 node-v20.14.0
$ darwin --help [COMMAND]
USAGE
$ darwin COMMAND
Expand Down
2 changes: 1 addition & 1 deletion docs/chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ EXAMPLES
$ darwin chat
```

_See code: [src/commands/chat/index.ts](https://github.com/rpidanny/darwin/blob/v1.5.0/src/commands/chat/index.ts)_
_See code: [src/commands/chat/index.ts](https://github.com/rpidanny/darwin/blob/v1.6.0/src/commands/chat/index.ts)_
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ EXAMPLES
$ darwin config get
```

_See code: [src/commands/config/get.ts](https://github.com/rpidanny/darwin/blob/v1.5.0/src/commands/config/get.ts)_
_See code: [src/commands/config/get.ts](https://github.com/rpidanny/darwin/blob/v1.6.0/src/commands/config/get.ts)_

## `darwin config set`

Expand All @@ -42,4 +42,4 @@ EXAMPLES
$ darwin config set
```

_See code: [src/commands/config/set.ts](https://github.com/rpidanny/darwin/blob/v1.5.0/src/commands/config/set.ts)_
_See code: [src/commands/config/set.ts](https://github.com/rpidanny/darwin/blob/v1.6.0/src/commands/config/set.ts)_
16 changes: 9 additions & 7 deletions docs/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ Search content (papers / accession numbers / etc)

## `darwin search accession KEYWORDS`

Search for papers that contain accession numbers given a list of keywords.
Search for papers that contain accession numbers.

```
USAGE
$ darwin search accession KEYWORDS -o <value> [--log-level TRACE|DEBUG|INFO|WARN|ERROR|FATAL] [-m <value>] [-h]
$ darwin search accession KEYWORDS -o <value> [--log-level TRACE|DEBUG|INFO|WARN|ERROR|FATAL] [-m <value>] [-h] [-r
<value>]
ARGUMENTS
KEYWORDS The keywords to search for
FLAGS
-h, --headless Run in headless mode
-m, --maxResults=<value> [default: 10] The maximum number of papers with accession numbers to search for
-o, --output=<value> (required) Output CSV file name/path
-h, --headless Run in headless mode
-m, --maxResults=<value> [default: 10] The maximum number of papers with accession numbers to search for
-o, --output=<value> (required) Output CSV file name/path
-r, --accessionNumberRegex=<value> [default: PRJNA\d+] Regex to match accession numbers
GLOBAL FLAGS
--log-level=<option> [default: INFO] Specify level for logging.
Expand All @@ -32,7 +34,7 @@ EXAMPLES
$ darwin search accession "mocrobiome, nRNA" -o output.csv --log-level debug
```

_See code: [src/commands/search/accession.ts](https://github.com/rpidanny/darwin/blob/v1.5.0/src/commands/search/accession.ts)_
_See code: [src/commands/search/accession.ts](https://github.com/rpidanny/darwin/blob/v1.6.0/src/commands/search/accession.ts)_

## `darwin search papers KEYWORDS`

Expand Down Expand Up @@ -60,4 +62,4 @@ EXAMPLES
$ darwin search papers "crispr cas9" -o crispr_cas9.csv --log-level debug
```

_See code: [src/commands/search/papers.ts](https://github.com/rpidanny/darwin/blob/v1.5.0/src/commands/search/papers.ts)_
_See code: [src/commands/search/papers.ts](https://github.com/rpidanny/darwin/blob/v1.6.0/src/commands/search/papers.ts)_
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@rpidanny/darwin",
"description": "A cli tool to download research papers / datasets from various sources",
"version": "1.5.0",
"version": "1.6.0",
"author": "Abhishek <[email protected]>",
"bin": {
"darwin": "./bin/run.js"
Expand Down

0 comments on commit 2ddefc9

Please sign in to comment.