Code Monkey home page Code Monkey logo

gh-p2's Introduction

gh-p2

GitHub CLI extension ProjectV2 utility ✨.

gif

Installation

Add projectV2 socpes to GitHub CLI.

gh auth login --scopes 'project'

Install extension.

gh extension install shuntaka9576/gh-p2

Upgrade:

gh extension upgrade shuntaka9576/gh-p2

Usage

Global Flags

If ProjectV2 belongs to User, use --user(-u). if it belongs to Organization, use --org(-o) to specify the name.

Create Issue

Draft issue

Quick start

Create and add a draft issue to ProjectV2.

gh p2 create -u "ownerName" -p "projectTitle" -t "Title" -f "Status:Todo" -d

Details

flag short required default
--user or --org -u or -o true ""
--project-title -p true ""
--title -t true ""
--draft -r true false
--assignees -a false []
--fields -f false []
--body -b false ""
--repo -r unavailable ""
--labels -l unavailable []
gh p2 create \
  --user "shuntaka9576" \
  --project-title "testProject" \
  --title "Fix bug" \
  --draft \
  --assignees "shuntaka9576" \
  --fields "Status:Todo" \
  --fields "point:3" \
  --fields "deadline:2022-08-11" \

Issue

Quick start

Create an issue in {ownerName}/{repositoryName} repository and add it to ProjectV2.

gh p2 create -u "ownerName" -r "repositoryName" -p "projectTitle" -t "Title"

Details

flag short required default
--user or --org -u or -o true ""
--repo -r true ""
--project-title -p true ""
--title -t true ""
--draft -r false false
--assignees -a false []
--labels -l false []
--fields -f false []
--body -b false ""
gh p2 create \
  --user "shuntaka9576" \
  --repo "repositoryName" \
  --project-tilte "testProject" \
  --title "Fix bug" \
  --assignees "shuntaka9576" \
  --labels "label1" \
  --labels "label2" \
  --fields "Status:Todo" \
  --fields "point:3" \
  --fields "deadline:2022-08-11"

Special Thanks

gh-p2's People

Contributors

shuntaka9576 avatar toshi0383 avatar ykominami avatar

Watchers

 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.