packagecloud

command module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

packagecloud

packagecloud is a Go CLI for the packagecloud API.

It is a trivial fork of mlafeldt/pkgcloud, adding functionality to retry a package push if it already exists.

This fork was created to solve a particular problem, and is not expected to be actively maintained, although pull requests will be reviewed.

Installation

$ go install github.com/edgeworx/packagecloud

Usage

The PACKAGECLOUD_TOKEN envar must be set.

To upload a package:

$ packagecloud push --overwrite user/repo/distro/version ./mypkg_1.2.3_arm64.deb

When the --overwrite flag is present, the CLI will yank (delete) the package file if the API reports that it already exists.

To yank (remove) a package:

$ packagecloud yank user/repo/distro/version ./mypkg_1.2.3_arm64.deb

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package pkgcloud allows you to talk to the packagecloud API.
Package pkgcloud allows you to talk to the packagecloud API.

Jump to

Keyboard shortcuts

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