cumin

command module
v0.0.0-...-48e0c29 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: GPL-2.0 Imports: 1 Imported by: 0

README

cumin

what is cumin
Cumin (/ˈkjuːmɪn/ or US: /ˈkuːmɪn/, or /ˈkʌmɪn/)
Cumin is a spice made from the dried seed of a plant known as Cuminum cyminum.
---
जीरा
/jīrā/
In Indian English, jeera is the same as cumin.
/jira, jIrA, jeeraa, jīrā/

cumin is a spice, but this tool is spicier for everything p12n :)

setup
usage
cumin clone https://github.com/tektoncd/operator/issues/763 \
--add-to-current-sprint \
--assignee concaf \
--story-points 5 \
--type Bug \
--base https://issues.redhat.com \
--board-id 5310 \
--project SRVKP

2022/09/14 13:24:22 found github token set in environment variable GITHUB_TOKEN, using...
2022/09/14 13:24:22 github client generation successful
2022/09/14 13:24:22 jira client generation successful
2022/09/14 13:24:22 fetching github issue...
2022/09/14 13:24:23 github issue fetch successful
2022/09/14 13:24:23 jira issue title: Enable image signing (with chains) in Tektoncd Operator release pipeline
2022/09/14 13:24:23 the issue will be added to the current sprint
2022/09/14 13:24:23 found one active sprint: Pipelines Sprint 224
2022/09/14 13:24:23 creating jira issue now...
2022/09/14 13:24:24 created issue id: SRVKP-2486
2022/09/14 13:24:24 created issue: https://issues.redhat.com/browse/SRVKP-2486
command structure
clone an issue from github to jira
usage:

cumin clone https://github.com/concaf/cumin/issues/2455 \
--project SRVKP \
--label "imported-from-github" \
--label "groomable" \
--type story \
--fix-version "Pipelines 1.10" \
--priority critical \
--assignee concaf \
--add-to-current-sprint \
--story-points 5 \
--title "this cool upstream issue"

Usage:
  cumin clone [flags]

Flags:
      --add-to-current-sprint      add the jira issue to current sprint?
  -a, --assignee string            assignee to set on the jira issue
      --fix-versions stringArray   fixVersion(s) to set on the jira issue
  -h, --help                       help for clone
  -l, --labels stringArray         labels to add to the jira issue
      --priority string            priority to set on the jira issue, e.g. major, critical, blocker, etc
      --story-points int           story points to add to the jira issue
      --title string               override the title in the jira issue
  -t, --type string                type of the jira issue, e.g. story, bug, etc (default "story")

Global Flags:
      --base string      jira base url
      --board-id int     jira board id
  -p, --project string   jira project to clone the issue into

the environment variable JIRA_BOARD_ID, JIRA_PROJECT, JIRA_BASE_URL will be respected unless overriden by their corresponding flag.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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