goji

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: MIT Imports: 6 Imported by: 0

README

goji

goji is the simple and fast way to access Atlassian Jira from your command line.

Features

  • Display a users pending tasks
  • Generate issue dependency graph

Requirements

Build

git clone https://github.com/philippdrebes/goji.git
cd goji
make build

Install

make install

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Username: "",
	Url:      "",
}

Functions

func BuildGraph

func BuildGraph(client *jira.Client, issue *jira.Issue) *gographviz.Graph

func SaveConfig

func SaveConfig(config Config)

Types

type Client

type Client struct {
	JiraClient  *jira.Client
	CurrentUser *jira.User
}

func NewClient

func NewClient(baseUrl string, username string, password string) (*Client, error)

func (Client) GetAssignedTasks

func (c Client) GetAssignedTasks(user string) ([]jira.Issue, error)

type Config

type Config struct {
	Username string `json:"username"`
	Url      string `json:"url"`
}

func GetConfig

func GetConfig() Config

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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