n8n/packages/cli/src/help.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
412 B
TypeScript
Raw Permalink Normal View History

import { Container } from '@n8n/di';
import { Help } from '@oclif/core';
import { Logger } from 'n8n-core';
// oclif expects a default export
// eslint-disable-next-line import/no-default-export
export default class CustomHelp extends Help {
async showRootHelp() {
Container.get(Logger).info(
'You can find up to date information about the CLI here:\nhttps://docs.n8n.io/hosting/cli-commands/',
);
}
}