mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(core): Point users to the official documentation when they use n8n --help (#8440)
This commit is contained in:
@@ -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/',
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user