backlogcli

package module
v0.0.0-...-4a2c03c Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExitCodeOK    int = iota // 0
	ExitCodeError            // 1
)

ExitCodeOK, ExitCodeError is return code.

View Source
const Version = "0.0.1"

Version is ...

Variables

This section is empty.

Functions

func ActivityList

func ActivityList() error

ActivityList function executes act subcommand.

func Cli

func Cli(args []string) int

Cli function parses the command line and then executes application.

func CommentAdd

func CommentAdd(issueKey string, content string) error

CommentAdd function comment add subcommand.

func IssueAdd

func IssueAdd(path string) error

IssueAdd function issue add subcommand.

func IssueDelete

func IssueDelete(issueKey string) error

IssueDelete function issue delete subcommand.

func IssueInfo

func IssueInfo(issueKey string) error

IssueInfo function issue information subcommand.

func IssueList

func IssueList() error

IssueList function issue list subcommand.

func IssueUpdate

func IssueUpdate(optFile string, optStatus string, optAssignee string, optComment string, issueKey string) error

IssueUpdate function issue update subcommand.

func NotifyList

func NotifyList() error

NotifyList function executes notify subcommand.

func ProjectInfo

func ProjectInfo(projectKey string) error

ProjectInfo function executes project info subcommand.

func ProjectList

func ProjectList() error

ProjectList function executes project list subcommand.

func SpaceUsage

func SpaceUsage() error

SpaceUsage function executes space subcommand.

func UserList

func UserList() error

UserList function user list subcommand.

Types

type IssueAddRequest

type IssueAddRequest struct {
	ProjectKey     string `toml:"projectKey"`
	Summary        string `toml:"summary"`
	Description    string `toml:"description"`
	Assignee       string `toml:"asignee"`
	StartDate      string `toml:"startDate"`
	DueDate        string `toml:"dueDate"`
	EstimatedHours string `toml:"estimatedHours"`
	IssueType      string `toml:"issueType"`
	Priority       string `toml:"priority"`
}

IssueAddRequest structure for TOML file.

type IssueUpdateRequest

type IssueUpdateRequest struct {
	ProjectKey     string `toml:"projectKey"`
	Summary        string `toml:"summary"`
	Description    string `toml:"description"`
	Status         string `toml:"status"`
	Assignee       string `toml:"asignee"`
	StartDate      string `toml:"startDate"`
	DueDate        string `toml:"dueDate"`
	EstimatedHours string `toml:"estimatedHours"`
	IssueType      string `toml:"issueType"`
	Priority       string `toml:"priority"`
	Comment        string `toml:"comment"`
}

IssueUpdateRequest structure for TOML file.

Jump to

Keyboard shortcuts

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