Skip to content

Commit

Permalink
chore: drop '--version' for automation
Browse files Browse the repository at this point in the history
  • Loading branch information
lightpohl committed Dec 31, 2023
1 parent 7bf2767 commit 465bbb4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Type values surrounded in square brackets (`[]`) can be used as used as boolean
| --exec | String | false | Execute a command after each episode is downloaded. See "Template Options" for more details. |
| --parser-config | String | false | Path to JSON file that will be parsed and used to override the default config passed to [rss-parser](https://github.com/rbren/rss-parser#xml-options). |
| --proxy | | false | Enable proxy support. Specify environment variables listed by [global-agent](https://github.com/gajus/global-agent#environment-variables). |
| --version | | false | Output the version number. |
| --help | | false | Output usage information. |

## Archive
Expand Down
2 changes: 0 additions & 2 deletions bin/commander.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import { AUDIO_ORDER_TYPES, ITEM_LIST_FORMATS } from "./util.js";
import { createParseNumber, hasFfmpeg } from "./validate.js";
import { logErrorAndExit } from "./logger.js";
import { version } from "./version.js";

export const setupCommander = (commander, argv) => {
commander
.version(version)
.option("--url <string>", "url to podcast rss feed")
.option(
"--out-dir <path>",
Expand Down
2 changes: 0 additions & 2 deletions bin/version.js

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"bin": "./bin/bin.js",
"scripts": {
"build": "rimraf ./binaries && rimraf ./dist && node build.cjs",
"lint": "eslint ./bin",
"version:generate": "npx genversion --es6 --semi ./bin/version.js"
"lint": "eslint ./bin"
},
"lint-staged": {
"*.{js,json,md}": [
Expand Down

0 comments on commit 465bbb4

Please sign in to comment.