npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@alu0101106335/gh-issues

v1.0.2

Published

gh extension for issues

Downloads

14

Readme

gh-issues

Extension that emulates some basic operations to get, create and modify issues.

Documentation

gh-issues docs

Installation

gh extension install ULL-MII-SYTWS-2122/gh-issues

npm install @alu0101106335/gh-issues

Usage

Usage: gh issues [options]

gh extension for issues

Options:
  -V, --version                output the version number
  -n, --repo <name>            specify repo name
  -org, --organization <name>  specify organization name
  -s, --state <state>          specify issue state [open|closed|all], default state is open (default: "open")
  -a, --assigned               get issues assigned to user (default: false)
  -i, --issue <number>         specify an issue
  -o, --open                   open an issue
  -r, --reopen <number>        reopen an issue
  -c, --close <number>         close an issue
  -t, --title <title>          set title
  -b, --body <body>            set body (default: "")
  -m, --modify <number>        modify issue data
  -h, --help                   display help for command

    * Option '-a' do not accept other options
    * Options '-o', '-r', '-c' are only available for current repository

Tests

npm run test

Examples

Extension without options will get current repository issues:

$ gh issues
5 - other title (created 13 hours ago)
4 - i3 (created 14 hours ago)
3 - i1 (created 14 hours ago)
2 - Issue 2 (created 17 hours ago)
1 - Issue 1 (created 17 hours ago)

Get user repo issues

$ gh issues -n SYTW_Cliente
1 - Issue SYTW_Cliente (created 16 hours ago)

Get repo issues in an organization

gh issues -org ULL-MII-SYTWS-2122 -n gh-cli-PaulaExposito
1 - Prueba (created 7 days ago)

Get assigned issues

$ gh issues -a
=============================================================

1
Title: Issue SYTW_Cliente
Body: other repo
Assignee: PaulaExposito  
Repository: PaulaExposito/SYTW_Cliente

=============================================================

2
Title: Issue 2
Body: comment 2
@PaulaExposito 

Assignee: crguezl PaulaExposito  
Repository: ULL-MII-SYTWS-2122/gh-issues

=============================================================

Get issues assigned in an organization

$ gh issues -org ULL-MII-SYTWS-2122
=============================================================
2
Title: Issue 2
Body: comment 2
@PaulaExposito 

Assignee: PaulaExposito 
=============================================================

Get one issue with details

$ gh issues --issue 2
Title: Issue 2
Number of issue: 2
State: open

Body: comment 2
@PaulaExposito 


Assignees: PaulaExposito 

Issue created by PaulaExposito 18 hours ago
https://github.com/ULL-MII-SYTWS-2122/gh-issues/issues/2

Create new issue

$ gh issues --open -t "new issue" -b "another one"
A new issue has been created

Close issue

$ gh issues --close 7 
Issue 7 is now close

Reopen issue

$ gh issues --reopen 7 
Issue 7 is now open

Change issue data

 $ gh issues --modify 6 --title "new title" --body "Hello"
Issue 6 updated

Filter issues by state:

$ gh issues --state closed -n TFG-TrackYourTrails
11 - Ubicación (created 4 months ago)
10 - Resumen y conclusiones (created 4 months ago)
9 - Vue app (created 5 months ago)
8 - Integración de mapas (created 5 months ago)
7 - Postman coverage (created 5 months ago)
6 - Codecov Setup (created 6 months ago)
5 - Quasar setup (created 6 months ago)
4 - API (created 6 months ago)
3 - Docker (created 6 months ago)
2 - Setup de remote en organizacion ULL-TFGyMs-vblanco y submodule para memoria (created 6 months ago)
1 - Create main.yml (created 7 months ago)

Release History

  • 0.1.0 - Requests to gh
  • 0.2.0 - Using JS Modules
  • 1.0.0 - First release
  • 1.0.1 - Bug ejecutable en .bin