Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.96 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.96 KB

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.