Skip to content

Commit

Permalink
Remove version entirely from help
Browse files Browse the repository at this point in the history
  • Loading branch information
fredsted committed Jul 15, 2024
1 parent f6d3d89 commit f06d377
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
7 changes: 1 addition & 6 deletions commands/help.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import "colors";
import * as fs from "node:fs";
import appRootPath from "app-root-path";
import * as path from "node:path";

const packageJson = JSON.parse(fs.readFileSync(path.join(appRootPath.path, 'package.json')))

export default () => {
console.log(`⚓ whcli: Webhook.site CLI ${packageJson.version}
console.log(`⚓ whcli: Webhook.site CLI
Usage: whcli [command] [--arg...]
Documentation: https://docs.webhook.site/cli.html
Expand Down
13 changes: 2 additions & 11 deletions package-lock.json

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

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@webhooksite/cli",
"description": "Client for Webhook.site",
"repository": "webhooksite/cli",
"version": "0.2.1",
"version": "0.2.2",
"type": "module",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand All @@ -11,7 +11,6 @@
"node": ">=16.0.0"
},
"dependencies": {
"app-root-path": "^3.1.0",
"colors": "^1.4.0",
"laravel-echo": "^1.16.1",
"minimist": "^1.2.8",
Expand Down

0 comments on commit f06d377

Please sign in to comment.