GithubHelp home page GithubHelp logo

mozilla-github-standards / 1e5309ffa4bdc7d9f0258ad3973203c1afb017bb4f04ed8a9745c60162ebd0eb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla/pd-cli

0.0 0.0 0.0 27 KB

A Product Delivery CLI toolbox of awesomeness

License: Mozilla Public License 2.0

Go 97.43% Shell 2.57%

1e5309ffa4bdc7d9f0258ad3973203c1afb017bb4f04ed8a9745c60162ebd0eb's Introduction

pd-cli

A Product Delivery CLI toolbox of awesomeness

Install

Install dep

go get github.com/mozilla/pd-cli
cd $GOPATH/src/github.com/mozilla/pd-cli
dep ensure && go install .
pd-cli -h

Github Access

The pd-cli requires a Github access token to perform most of its commands.

  • Create a GH Personal Access Token
  • Give the token all repo permissions
  • Set the token in the environment variable GH_ACCESS_TOKEN

Usage

  • Print help:
    • pd-cli help
    • pd-cli repo help
    • pd-cli create-milestone help
  • Check a repo (these are the same):
    • pd-cli repo check all github.com/mozilla/pd-cli
    • pd-cli repo check all mozilla/pd-cli
  • Specific checks:
    • pd-cli repo check help -- prints help
    • pd-cli repo check topic owner/repo -- checks for Product Delivery repo topics
    • pd-cli repo check labels owner/repo -- verifies Product Delivery labels are correct
    • `pd-cli repo check unassigned owner/repo`` -- checks all P1 issues are assigned to somebody
    • `pd-cli repo check unlabled owner/repo`` -- finds issues that do not have a label
    • `pd-cli repo check milestones owner/repo`` -- verifies milestones have a project to track them
  • Initializing a repo:
    • pd-cli repo init mozilla/pd-cli - creates labels and a default project
    • pd-cli repo init -p "first project" mozilla/pd-cli - creates labels and a specific project
    • pd-cli repo create-milestone -m "Version 2.0" mozilla/pd-cli - creates a new milestone
    • pd-cli repo create-project -p "first project" mozilla/pd-cli - creates a project

1e5309ffa4bdc7d9f0258ad3973203c1afb017bb4f04ed8a9745c60162ebd0eb's People

Contributors

mostlygeek avatar mozilla-github-standards avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.