@fern-api/generator-cli 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.cjs +7 -4
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -12934,10 +12934,7 @@ var ReadmeGenerator = class {
12934
12934
  });
12935
12935
  }
12936
12936
  writer.writeLine();
12937
- writer.writeLine(
12938
- `The ${this.organizationPascalCase} ${this.languageTitle} library provides convenient access to the ${this.organizationPascalCase} API from ${this.languageTitle}.`
12939
- );
12940
- writer.writeLine();
12937
+ this.writeIntroudction({ writer });
12941
12938
  }
12942
12939
  writeBanner({ writer, bannerLink }) {
12943
12940
  writer.writeLine(`![](${bannerLink})`);
@@ -12948,6 +12945,12 @@ var ReadmeGenerator = class {
12948
12945
  "[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen)](https://github.com/fern-api/fern)"
12949
12946
  );
12950
12947
  }
12948
+ writeIntroudction({ writer }) {
12949
+ writer.writeLine(
12950
+ this.readmeConfig.introduction != null ? this.readmeConfig.introduction : `The ${this.organizationPascalCase} ${this.languageTitle} library provides convenient access to the ${this.organizationPascalCase} API from ${this.languageTitle}.`
12951
+ );
12952
+ writer.writeLine();
12953
+ }
12951
12954
  generateDocumentation({ docsLink }) {
12952
12955
  const writer = new StringWriter();
12953
12956
  writer.writeLine("## Documentation");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fern-api/generator-cli",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "files": [
5
5
  "dist"
6
6
  ],