Skip to content

agbcloud/agbcloud-cli

Repository files navigation

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

# 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.

Usage

# 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.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages