diff --git a/README.md b/README.md index 3116c2b..6adfd3a 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,7 @@ GLOBAL FLAGS DESCRIPTION Generate type definitions for your Reforge configuration - You can use the default type-generation configuration, or by provide your own: + You can use the default type-generation configuration, or by provide your own via a reforge.config.json file: Format: { @@ -163,7 +163,7 @@ DESCRIPTION ​ } }; - Example: + Example reforge.config.json: ```json { ​ "outputDirectory": "path/to/your/directory", diff --git a/src/commands/generate.ts b/src/commands/generate.ts index 3fb9012..771136e 100644 --- a/src/commands/generate.ts +++ b/src/commands/generate.ts @@ -82,7 +82,7 @@ const DEFAULT_CONFIG: { export default class Generate extends APICommand { /* eslint-disable no-irregular-whitespace */ - static description = `You can use the default type-generation configuration, or by provide your own: + static description = `You can use the default type-generation configuration, or by provide your own via a reforge.config.json file: Format: { @@ -95,7 +95,7 @@ Format: ​ } }; -Example: +Example reforge.config.json: \`\`\`json { ​ "outputDirectory": "path/to/your/directory",