cli

package
v0.3.0-pre8 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 60 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 string,
	description string,
	flags func(*kingpin.CmdClause),
	connect func(ctx context.Context) (storage.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