version

package
Version: v0.0.0-...-81b11f5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package version implements the version subcommand.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Command is the cobra command representing the version subtree.
	Command = &cobra.Command{
		Use:   "version",
		Short: "Prints the Taskcluster version.",
		Run:   printVersion,
	}

	// VersionNumber is a formatted string with the version information. This is
	// filled in by `yarn release`
	VersionNumber = "24.2.0"
)
View Source
var (
	// Updcommand  is the cobra command to check for a new update.
	Updcommand = &cobra.Command{
		Use:   "update",
		Short: "Updates Taskcluster",
		Run:   update,
	}
)

Functions

This section is empty.

Types

type Asset

type Asset struct {
	Download string `json:"browser_download_url"`
}

Asset describes a download url for a published releases.

type Release

type Release struct {
	Name    string  `json:"name"`
	Assets  []Asset `json:"assets"`
	Message string  `json:"message"`
}

Release provided through GitHub for new tc-client shells

Source Files

Jump to

Keyboard shortcuts

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