-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(core): Point users to the official documentation when they use `n…
…8n --help` (#8440)
- Loading branch information
1 parent
70af67e
commit 9f11eba
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/', | ||
); | ||
} | ||
} |