@ama-sdk/create
TypeScript icon, indicating that this package has built-in type declarations

10.3.0 • Public • Published

SDK project initializer

Super cute Otter!

Description

Stable Version Bundle Size

This package is an NPM initializer to generate an API client SDK based on OpenAPI specification.

Create an SDK package

This package is simplifying the start of new SDK repository.

Usage

npm create @ama-sdk typescript <package-name> -- [...options]

or

yarn create @ama-sdk typescript <project-name> [...options]

[!WARNING] Please notice that the command yarn create is not available for versions >= 2.0.0 (see Yarn cli commands).

You can generate an environment with a specific package manager thanks to the --package-manager options:

npm create @ama-sdk typescript <project-name> -- --package-manager=yarn [...options]

Options list

  • --spec-path: Path to the swagger/open-api specification used to generate the SDK
  • --package-manager: Node package manager to be used (npm and yarn are available).
  • --debug --no-dry-run: Enable schematics debug mode (dry-run is not currently supported).
  • --o3r-metrics: Enable or disable the collection of anonymous data for Otter
  • --exact-o3r-version : use a pinned version for otter packages.

[!NOTE] If the --spec-path is specified, the SDK will be generated based on this specification at the creation time.

Readme

Keywords

Package Sidebar

Install

npm i @ama-sdk/create

Weekly Downloads

819

Version

10.3.0

License

BSD-3-Clause

Unpacked Size

12 kB

Total Files

5

Last publish

Collaborators

  • mrednic-1a
  • nicohoffmann
  • vscaiceanu-1a
  • jbourgeois-1a
  • kpanot