Skip to main content

Generate commands

info

You can use yarn cli as a drop in replacement for apic.

The Generate commands are used to generate API clients.

Usage

language and client defaults to all

The client parameter is variadic, you can pass multiple client name

apic generate <language | all> <client... | all>

Available options

OptionCommandDescription
verbose-v, –verboseMake the process verbose, display logs from third party tools

Generate

Generate all clients for all supported languages

apic generate

Generate specific client for specific language

apic generate java search

Generate many client for specific language

apic generate php insights recommend search

Build

Build all clients for all supported languages

apic build clients

Build specific client for specific language

apic build clients javascript recommend

Build many client for specific language

apic build clients php insights recommend search