options

package
v0.0.0-...-44c038b Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleOpts

func HandleOpts(opts *Opts)

func OptsCheck

func OptsCheck(opts *Opts) error

Types

type Opts

type Opts struct {
	BitDir        string   `short:"s" long:"source" description:"Source directory that contains resume.dat and torrents files"`
	QBitDir       string   `short:"d" long:"destination" description:"Destination directory BT_backup (as default)"`
	Categories    string   `short:"c" long:"categories" description:"Path to qBittorrent categories.json file (for write tags)"`
	WithoutLabels bool     `long:"without-labels" description:"Do not export/import labels"`
	WithoutTags   bool     `long:"without-tags" description:"Do not export/import tags"`
	SearchPaths   []string `` /* 166-byte string literal not displayed */
	Replaces      []string `` /* 225-byte string literal not displayed */
	PathSeparator string   `` /* 155-byte string literal not displayed */
	Version       bool     `short:"v" long:"version" description:"Show version"`
}

func MakeOpts

func MakeOpts() *Opts

func ParseOpts

func ParseOpts(opts *Opts) *Opts

func PrepareOpts

func PrepareOpts() *Opts

Jump to

Keyboard shortcuts

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