cmd

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

cmd package is a controller to run on the command line when Redump is started by itself.

Index

Constants

This section is empty.

Variables

View Source
var DocOptConf struct {
	Migrate     bool `docopt:"migrate"`
	List        bool `docopt:"list"`
	Dump        bool `docopt:"dump"`
	Restore     bool `docopt:"restore"`
	Clear       bool `docopt:"clear"`
	Silent      bool `docopt:"-s,--silent"`
	Old         bool `docopt:"-o,--old"`
	Help        bool `docopt:"-h,--help"`
	Version     bool `docopt:"-v,--version"`
	Concurrency bool `docopt:"-c,--concurrency"`
	Issue       bool `docopt:"-i,--issue"`
	Number      int  `docopt:"<number>"`
}

Functions

func DeleteServerAllIssues

func DeleteServerAllIssues(old bool) error

func DeleteServerAllIssuesConcurrency

func DeleteServerAllIssuesConcurrency(old bool) error

Todo: socket: too many open files

func Dump

func Dump(projectId int, concurrency bool)

func DumpOneIssue

func DumpOneIssue(issueId int)

func ListAll

func ListAll(projectId int) error

func Migrate

func Migrate(projectId int, silent bool) error

func MigrateOneIssue

func MigrateOneIssue(issueId int, silent bool)

func RestoreDataFromLocal

func RestoreDataFromLocal(projectId, issueId int, silent bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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