Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (34 loc) · 1.67 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.67 KB

As github is now allows the sorting of forks, I'm now archiving this repo.

Gofork

Presentation

Gofork is a CLI tool to find forks that are ahead of a github repository.

Usage

$ gofork --help
usage: gofork [-h|--help] -r|--repo "<value>" [-b|--branch "<value>"]
              [-v|--verbose] [-p|--page <integer>] [-s|--sort "<value>"]
              [-d|--deleteconfig]

              CLI tool to find active forks

Arguments:

  -h  --help          Print help information
  -r  --repo          Repository to check
  -b  --branch        Branch to check. Default: repo default branch
  -v  --verbose       Show deleted and up to date repositories
  -p  --page          Page to check (use -1 for all). Default: 1
  -s  --sort          Sort by (stars, ahead, lastUpdated). Default: ahead
  -d  --deleteconfig  Delete the config file

Roadmap

  • Print the results in table
  • Add support for branches (with the default being the repo default branch)
  • Use terminal colors
  • Verbose flag for private/even forks
  • Loading bar
  • Flag to sort output
  • Add branches to output
  • Flag to uninstall gofork
  • Fix the sorting algorithm

Built with

Built with love using Golang, Github API and akamensky's argparse, gookit's color, jedib0t's go-pretty, schollz's progressbar libraries.

License

License: GPL v3