← 返回
开发者工具 中文

Cloud Sdk

The Go Cloud Development Kit (Go CDK): A library and tools for open cloud development in Go. go cloud, go, aws, azure, cloud, gcp.
Go云开发工具包(Go CDK):Go语言开源云开发库及工具,支持AWS、Azure、GCP等云平台。
xueyetianya
开发者工具 clawhub v2.0.1 2 版本 99852.3 Key: 无需
★ 0
Stars
📥 676
下载
💾 11
安装
2
版本
#latest

概述

Cloud SDK

Developer workflow automation tool for project lifecycle management. Provides commands for initializing projects, running checks, building, testing, deploying, managing configuration, generating templates, producing documentation, and cleaning build artifacts — all from a single CLI interface.

Commands

CommandDescription
----------------------
cloud-sdk initInitialize a new project in the current working directory
cloud-sdk checkRun lint, type-check, and test passes against the project
cloud-sdk buildBuild the project artifacts
cloud-sdk testExecute the full test suite
cloud-sdk deployShow the deployment pipeline guide (build → test → stage → prod)
cloud-sdk configDisplay or manage project configuration (config.json)
cloud-sdk statusCheck overall project health and status
cloud-sdk template Generate a code template for the given component name
cloud-sdk docsGenerate project documentation
cloud-sdk cleanRemove build artifacts and temporary files
cloud-sdk helpShow the built-in help message with all commands
cloud-sdk versionPrint the current version (v2.0.0)

Data Storage

All operational data is stored in ~/.local/share/cloud-sdk/ by default. You can override this by setting the CLOUD_SDK_DIR environment variable. Key files inside the data directory:

  • history.log — timestamped log of every command executed
  • config.json — project-level configuration (managed via config command)

The tool respects XDG_DATA_HOME if set, falling back to $HOME/.local/share.

Requirements

  • Bash 4.0+ (uses set -euo pipefail for strict error handling)
  • coreutils (standard date, mkdir, echo)
  • No external dependencies or API keys required
  • Works on Linux and macOS out of the box

When to Use

  1. Bootstrapping a new project — run cloud-sdk init to set up project scaffolding quickly from the terminal without remembering per-tool init commands
  2. Pre-commit quality gates — use cloud-sdk check as part of a Git pre-commit hook to run lint + type-check + tests before every commit
  3. CI/CD pipeline steps — chain cloud-sdk build and cloud-sdk test inside your continuous integration scripts for a consistent, tool-agnostic interface
  4. Deployment checklists — run cloud-sdk deploy to get a guided walkthrough of the build → test → stage → prod pipeline so nothing gets skipped
  5. Housekeeping and cleanup — execute cloud-sdk clean to wipe build artifacts after releases, freeing disk space and resetting state

Examples

# Initialize a new project in the current directory
cloud-sdk init

# Run all quality checks (lint + type-check + tests)
cloud-sdk check

# Build the project
cloud-sdk build

# Run the test suite
cloud-sdk test

# View the deployment guide
cloud-sdk deploy

# Generate a code template for a component called "service"
cloud-sdk template service

# Generate project documentation
cloud-sdk docs

# Check project health
cloud-sdk status

# Clean up build artifacts
cloud-sdk clean

# Show version
cloud-sdk version

Configuration

Set the CLOUD_SDK_DIR environment variable to change the data directory:

export CLOUD_SDK_DIR="$HOME/my-project/.cloud-sdk"

Default location: ~/.local/share/cloud-sdk/

Output

All command output goes to stdout. Redirect to a file if needed:

cloud-sdk status > project-health.txt

History is automatically logged to $DATA_DIR/history.log with timestamps.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

版本历史

共 2 个版本

  • v2.0.1 当前
    2026-03-29 16:04 安全 安全
  • v1.0.6
    2026-03-19 05:45

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,528
ai-intelligence

Excel Formula

xueyetianya
根据描述生成Excel公式并诊断电子表格错误。适用于编写VLOOKUP公式、调试错误或转换公式。支持...
★ 2 📥 6,160
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,473