A command-line interface for AgbCloud services.
AgbCloud CLI provides comprehensive image management capabilities:
- Authentication: Secure OAuth-based login with Google account integration
- Image Creation: Build custom images from Dockerfiles with base image support
- Image Management: Activate, deactivate, and monitor image instances
- Resource Control: Configure CPU and memory resources (2c4g, 4c8g, 8c16g)
- Image Listing: Browse user and system images with pagination support
# 1. Log in to AgbCloud
agb login
# 2. List available system images (to find base image IDs)
agb image list --type System
# 3. Create a custom image
agb image create myapp --dockerfile ./Dockerfile --imageId agb-code-space-1
# 4. Activate the image with specific resources
agb image activate img-7a8b9c1d0e --cpu 4 --memory 8
# 5. List your images
agb image list
# 6. Deactivate when done
agb image deactivate img-7a8b9c1d0eDownload the latest release for your platform from the releases page.
# Show help
agb --help
# Show version
agb version
# Get detailed help for image commands
agb image --help
# Use verbose mode for detailed output
agb -v image create myapp -f ./Dockerfile -i agb-code-space-1For detailed installation steps, usage instructions and examples, see the User Guide.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.