Skip to content

CLI tool for Alice EVO Cloud API - Ephemera

License

Notifications You must be signed in to change notification settings

SakuraNekooo/ephemera-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ephemera CLI

Alice EVO Cloud API 命令行工具。

安装

从 GitHub 安装

pip install git+https://github.com/SakuraNekooo/ephemera-cli.git

从源码安装

git clone https://github.com/SakuraNekooo/ephemera-cli.git
cd ephemera-cli
pip install -e .

配置

export EPHEMERA_ACCESS_KEY="your_access_key"
export EPHEMERA_SECRET_KEY="your_secret_key"

或创建配置文件 ~/.ephemera/credentials:

access_key=your_access_key
secret_key=your_secret_key

使用

# 查看账户信息
ephemera profile

# 查看可用计划
ephemera plans

# 列出实例
ephemera list

# 部署实例
ephemera deploy --product-id 38 --os-id 1 --time 24

# 实例操作
ephemera state <id>
ephemera power <id> shutdown
ephemera renew <id> --time 12
ephemera delete <id>

仓库

https://github.com/SakuraNekooo/ephemera-cli

About

CLI tool for Alice EVO Cloud API - Ephemera

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages