stably-monorepo
v2.0.12-rc.0
Published
<p align="center"> <a href="https://stably.ai"> <img src="./logo/logo-white-with-bg.png" height="96"> <h3 align="center">Stably</h3> </a> </p>
Readme
Stably CLI
A command-line interface tool for interacting with Stably services.
Installation
# Install globally
npm install -g stably
# Or use npx
npx stablyAuthentication
Before using the CLI, you need to authenticate with your Stably API key.
Getting Your API Key
- Visit the Stably API Keys page: https://auth.stably.ai/api_keys/personal
- Create a new Personal API Key
- Copy the generated API Key
Authentication Methods
Using the auth command
# Authenticate with API key
stably auth --api-key YOUR_API_KEY
# Or let the CLI prompt you for the API key
stably authThe CLI will store your API key securely for future use.
Development Server
Start a development server with a secure tunnel to expose your local environment.
# Start development server on default port (3000)
stably dev
# Specify a custom port
stably dev --port 8080The CLI will:
- Start a development server on the specified port
- Create a secure tunnel to expose your local environment
- Provide you with a public URL where your local environment is accessible
Troubleshooting
Authentication Issues
- If you receive an "Invalid Personal API Key" error, verify that:
- The API key is correct and hasn't been revoked
- You're using a Personal API Key, not an Organization API Key
- The API key has the necessary permissions
Development Server Issues
- If the development server fails to start:
- Ensure the specified port is available
- Check if you're authenticated (run
stably authif needed) - Verify your API key has the necessary permissions
Contributing
For information on how to contribute to this project, including development setup and available scripts, please see CONTRIBUTING.md.
Support
For additional help or to report issues, please contact the Stably support team.
