Skip to content

Universal Command Line Interface for soeren.cloud

License

Notifications You must be signed in to change notification settings

soerenschneider/sc

Repository files navigation

sc

Go Report Card test-workflow release-workflow golangci-lint-workflow

sc is a command-line interface (CLI) tool, similar to the AWS CLI, designed as an interface for soeren.cloud.

Installation

go install github.com/soerenschneider/sc@latest
Universal Command Line Interface for soeren.cloud

Usage:
  sc [command]

Available Commands:
  agent       Interact with a remote sc-agent instance
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  pki         Sign, issue and revoke x509 certificates and retrieve x509 CA data
  ssh         Sign SSH certificates or retrieve SSH CA data
  version     Print version and exit

Flags:
  -h, --help           help for sc
      --no-telemetry   Do not perform check for updated version
  -v, --verbose        Print debug logs

Use "sc [command] --help" for more information about a command.

Documentation

Detailed documentation for all CLI sub commands is available below

Code Generation

The majority of the functionality is auto-generated using the cobra-cli and oapi-codegen using sc-agent's OpenAPI spec. It leverages the auto-generated libraries from github.com/soerenschneider/sc-agent/pkg/api to interact with the sc-agent REST API.