luci: go.chromium.org/luci/logdog/client/cli Index | Files

package cli

import "go.chromium.org/luci/logdog/client/cli"

Index

Package Files

main.go path.go subcommandCat.go subcommandLatest.go subcommandQuery.go trinaryFlag.go

func Main Uses

func Main(ctx context.Context, params Parameters) int

Main is the entry point for the CLI application.

type Parameters Uses

type Parameters struct {
    // Args is the command-line arguments. This should not include the command
    // name, args[0].
    Args []string

    // Host is the default host name.
    Host string

    // DefaultAuthOptions provide default values for authentication related
    // options (most notably SecretsDir: a directory with token cache).
    DefaultAuthOptions auth.Options
}

Parameters is the set of application parametesr that can be supplied.

Package cli imports 32 packages (graph) and is imported by 2 packages. Updated 2018-08-14. Refresh now. Tools for package owners.