1.4.1 โข Published 4 days ago
@sideko/cli v1.4.1
The single platform to generate an ecosystem for your APIs
Using OpenAPI 3.x specifications you can create:
- ๐ SDKs with types, tests, authentication, and code snippets
- ๐ Mock Servers that mimic API behavior
- ๐ API Documentation that stays up to date automatically
- ๐ป CLI Tools for simple API interactions
Installation
# ๐ macOS
brew install sideko-inc/tap/sideko
# ๐ python - pypi
pip install sideko-py
# ๐ฆ js - npm
npm install -g @sideko/cli
# โก curl
curl -fsSL https://raw.githubusercontent.com/Sideko-Inc/sideko/main/install.sh | sh
Quickstart - Premium SDKs in Seconds
# authenticate (uses native keychain to store credentials on host)
sideko login
# interactively create sdks
sideko sdk init
Local Authentication
This CLI utilizes your computer's native secure store:
- macOS: Keychain
- Linux: keyutils
- Windows: Credential Manager
To authenticate locally run: sideko login
Authenticating in CI/CD
Set SIDEKO_API_KEY
environment variable in CI/CD.
1. With your own API key run: sideko account get-my-api-key
2. With a service account see documentation
Resources
- ๐ Complete CLI Reference Docs
- ๐ Report an Issue
- โ๏ธ License
- Shell autocomplete:
sideko config autocomplete --shell (your shell)
(must run this command with each Sideko CLI update)
# via curl
curl -fsSL https://raw.githubusercontent.com/Sideko-Inc/sideko/v0.10.2/install.sh | sh
# via pip
pip install sideko-py==0.10.2