cli

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: Apache-2.0 Imports: 97 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