https://github.com/agbcloud/agbcloud-cli
https://github.com/agbcloud/agbcloud-cli
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/agbcloud/agbcloud-cli
- Owner: agbcloud
- License: other
- Created: 2025-09-18T03:00:36.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-10-17T08:27:11.000Z (6 months ago)
- Last Synced: 2025-11-21T09:10:20.338Z (5 months ago)
- Language: Go
- Size: 721 KB
- Stars: 24
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# AgbCloud CLI
A command-line interface for AgbCloud services.
## Features
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
## Quick Start
```bash
# 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-7a8b9c1d0e
```
## Installation
Download the latest release for your platform from the [releases page](https://github.com/agbcloud/agbcloud-cli/releases).
## Usage
```bash
# 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-1
```
For detailed installation steps, usage instructions and examples, see the [User Guide](docs/USER_GUIDE.md).
## License
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.