Skip to content

Commit

Permalink
Remove version command
Browse files Browse the repository at this point in the history
  • Loading branch information
ckcr4lyf committed May 26, 2023
1 parent a9c9313 commit 73c8665
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
5 changes: 0 additions & 5 deletions bin/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { tagErroredTorrents } from '../build/src/racing/tag.js'
import { postRaceResumeV2 } from '../build/src/racing/completed.js'
import { startMetricsServer } from '../build/src/server/appFactory.js';
import { addTorrentToRace } from '../build/src/racing/add.js';
import data from '../package.json' assert { type: 'json' };

// This should take care of having a base config
makeConfigIfNotExist();
Expand Down Expand Up @@ -70,8 +69,4 @@ program.command('metrics').description('Start a prometheus metrics server').acti
startMetricsServer(config, api);
})

program.option('-v, --version', 'Display the version').action(() => {
console.log(`\n\nqbit-race version ${data.version}\n\n`);
})

program.parse();
3 changes: 0 additions & 3 deletions build/src/qbittorrent/api.js

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,6 +1,6 @@
{
"name": "qbit-race",
"version": "2.0.0-alpha.6",
"version": "2.0.0-alpha.8",
"description": "Qbit utilities for racing",
"main": "./bin/index.js",
"type": "module",
Expand Down

0 comments on commit 73c8665

Please sign in to comment.