cli

module
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2022 License: Apache-2.0

README

Signadot CLI

This is the source repository for the Signadot command-line interface.

Please see the usage guide if all you want is to install and run the CLI.

To file an issue, please use our community issue tracker.

Build

To build the CLI from source, such as to test changes, you'll need Go 1.18+.

The main package is in cmd/signadot:

go build ./cmd/signadot

Release

To release the CLI, you'll need GoReleaser as well as a GiHtub token with write permissions to Signadot's repos.

Check out the desired commit and then push a new tag:

git tag -a -m 'Release vX.Y.Z' vX.Y.Z
git push origin vX.Y.Z

Then run GoReleaser, which will build and push all release artifacts:

GITHUB_TOKEN=... make release

See Also

The CLI is built on top of the Go SDK.

Directories

Path Synopsis
cmd
internal
clio
Package clio abstracts common command-line I/O patterns.
Package clio abstracts common command-line I/O patterns.
config
Package config defines all the variables that users can set (through flags, environment vars, or the config file) to affect command behavior.
Package config defines all the variables that users can set (through flags, environment vars, or the config file) to affect command behavior.
poll
Package poll is an opinionated library for polling in the Signadot CLI.
Package poll is an opinionated library for polling in the Signadot CLI.
spinner
Package spinner displays a progress indicator with a live-updating status message.
Package spinner displays a progress indicator with a live-updating status message.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL