luci: go.chromium.org/luci/cipd/version/versioncmd Index | Files

package versioncmd

import "go.chromium.org/luci/cipd/version/versioncmd"

Package versioncmd exposes 'version' subcommand.

It prints CIPD package namd and CIPD instance ID a binary was installed from.

Index

Package Files

cmd.go

Variables

var Version = &subcommands.Command{
    UsageLine:  "version",
    ShortDesc:  "prints version of CIPD package this exe was installed from",
    LongDesc:   "Prints version of CIPD package this exe was installed from.",
    CommandRun: func() subcommands.CommandRun { return &versionRun{} },
}

Version implement subcommand that prints version of CIPD package that contains the executable.

Package versioncmd imports 4 packages (graph) and is imported by 3 packages. Updated 2018-11-15. Refresh now. Tools for package owners.