We've just released v1.1.0-alpha.18
of the apimatic-cli
, introducing the new API Copilot command and bringing improvements to existing portal, SDK generation, and authentication commands.
๐ New Featuresโ
1. Portal & Build Directory Enhancementsโ
Unified Input Directory Structure
- All portal commands now use a simplified directory structure which segregates input and outputs into
src
,portal
andsdk
directories. - Commands automatically detect the build directory structure for improved workflow consistency.
- All portal commands now use a simplified directory structure which segregates input and outputs into
Portal Generation Improvements
- Enhanced messaging across portal commands for better user experience.
2. API Copilot Integrationโ
- New Portal Command
- Added
portal:copilot
command to configure AI-powered assistance in your API documentation portal. - Integrates API Copilot configuration directly into your
APIMATIC-BUILD.json
file.
- Added
๐ Learn more about the Copilot command here.
3. SDK Generation Improvementsโ
- Updated Flags and Behavior
- Replaced the
--url
and--file
flags with a new--spec
flag whose default value works seamlessly with the new directory structure. - Improved response handling for SDK generation.
- Replaced the
4. Authenticationโ
- Device Login Flow
- Added a device login flow for easier authentication through the APIMatic web application.
- This replaces the older username and password based authentication for improved security and user experience.
โก Upgrade Nowโ
Install the latest CLI version from NPM:
npm install -g @apimatic-cli
For more details and usage examples, check out the official CLI README or visit the GitHub Repository.
Happy building! ๐