gofork

command module
v0.0.0-...-ff4698c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL