lib

package
v0.0.0-...-51f9457 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package lib is used to implement the parent package main.

Index

Constants

View Source
const IsolatedVersion = "0.3"

IsolatedVersion must be updated whenever functional change (behavior, arguments, supported commands) is done.

Variables

This section is empty.

Functions

func CmdArchive

func CmdArchive(options CommandOptions) *subcommands.Command

CmdArchive returns an object for the `archive` subcommand.

func CmdDownload

func CmdDownload(options CommandOptions) *subcommands.Command

CmdDownload returns an object for the `download` subcommand.

Types

type CommandOptions

type CommandOptions struct {
	AuthClient      *http.Client
	AnonClient      *http.Client
	DefaultAuthOpts auth.Options
}

CommandOptions is used to initialize an isolated command.

Jump to

Keyboard shortcuts

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