DocsIntegratingGetting started

Automatically Generate a Spec from your CLI tool

Fig integrates with a variety of popular CLI frameworks to automatically generate autocomplete specs

Rather than manually create autocomplete specs, Fig can automatically generate versioned and up-to-date autocomplete spec for you.

1. Use one of our CLI Framework integrations to auto-generate an autocomplete spec

Click your framework to view the setup guide

2. Automatically push your spec to the cloud

Use our push to autocomplete action to automatically push to the withfig/autocomplete repo or to your personal/team namespace every time you make changes to your CLI.

Note: This action automatically merges/diffs with your existing spec to allow end-users to get auto-versioned completions