mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
fix(core): Point users to the official documentation when they use n8n --help
(#8440)
This commit is contained in:
parent
70af67e744
commit
9f11eba0a4
|
@ -16,6 +16,7 @@
|
|||
"types": "dist/index.d.ts",
|
||||
"oclif": {
|
||||
"commands": "./dist/commands",
|
||||
"helpClass": "./dist/help",
|
||||
"bin": "n8n"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
11
packages/cli/src/help.ts
Normal file
11
packages/cli/src/help.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
import { Help } from '@oclif/core';
|
||||
|
||||
// oclif expects a default export
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default class CustomHelp extends Help {
|
||||
async showRootHelp() {
|
||||
console.log(
|
||||
'You can find up to date information about the CLI here:\nhttps://docs.n8n.io/hosting/cli-commands/',
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue