github-stars-by-topic icon indicating copy to clipboard operation
github-stars-by-topic copied to clipboard

Packaging, pre-commit and CLI

Open eggplants opened this issue 2 years ago • 2 comments

$ pip install .
$ ghst -h  # or: github-stars-by-topic -h
usage: ghst [-h] [-t ID] [-u ID] [-p PASSWORD] [-V]

Generate a list of your GitHub stars by topic - automatically!

optional arguments:
  -h, --help             show this help message and exit
  -t ID, --target-username ID
                         gh username to search (default: None)
  -u ID, --username ID   gh username to login (default: None)
  -p PASSWORD, --password PASSWORD
                         gh password to login (default: None)
  -V, --version          show program's version number and exit

$ ghst
Your Github Username: ...

If you are ok, please:

  • change Workflow permissions into read/write
  • add PyPI token as PYPI_PASSWORD to secrets
  • run git tag vX.X.X && git push --tags

It enables to publish this project on pypi+releases+ghcr.

eggplants avatar May 01 '22 07:05 eggplants

Thanks so much for this. I sadly haven't been able to review it yet, but amazing how much work you put into this! This has come a long way from the quick proof of concept I published years ago. Thanks!

lorey avatar Jun 20 '22 07:06 lorey

I have to fix mis-formatting:

  • add-owns -> add-ons
  • HashCorp -> HashiCorp

eggplants avatar Jun 20 '22 09:06 eggplants