cli

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 94 Imported by: 2

Documentation

Overview

Package cli implements command-line commands for the Kopia.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func App

func App() *kingpin.Application

App returns an instance of command-line application object.

func RegisterStorageConnectFlags

func RegisterStorageConnectFlags(
	name, description string,
	flags func(*kingpin.CmdClause),
	connect func(ctx context.Context, isNew bool) (blob.Storage, error),
)

RegisterStorageConnectFlags registers repository subcommand to connect to a storage or create new repository in a given storage.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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