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.