krease

command module
v0.0.0-...-7f6d01b Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

KREASE TOOL

This is a small tool to help with tracking enhancements and docs pr. Currently, it can comment on issues(you can filter by labels and pull request).

Prerequisites: Go version 1.7 or greater.

  1. Get the code
go get github.com/SomtochiAma/krease
  1. Build
cd $GOPATH/src/github.com/SomtochiAma/krease
go install

Example Usage

To comment on issues with particular labels for a particular milestone. You have to pass in a file containing a template for the message.

krease issue <name-of-repository> \
    --labels <labels seperated by commas> \
    --milestone <milestone-number> \
    --token <personal-access-token> \
    --name <owner of repository>
    --file <path to file containing the template for message>

To comment on issues that are labelled tracked/yes for 1.20 milestone in the enhancements repository

krease issue enhancements \
    --labels tracked/yes \
    --milestone 1(milestone number-should be an interger) \
    --token <personal-access-token> \
    --name kubernetes
    --file ./comment.txt

Documentation

Overview

Copyright © 2020 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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