All Projects β†’ uetchy β†’ gst

uetchy / gst

Licence: other
πŸ‘» Supercharge your ghq workflow.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to gst

gogh
GO GitHub project manager
Stars: ✭ 29 (-14.71%)
Mutual labels:  ghq, cli-app
pwsh-prelude
PowerShell β€œstandard” library for supercharging your productivity. Provides a powerful cross-platform scripting environment enabling efficient analysis and sustainable science in myriad contexts.
Stars: ✭ 26 (-23.53%)
Mutual labels:  cli-app
maintainer
πŸ‘¨β€πŸ’» 🐳 Generate personal daily reports or summary, AUTHORS, CONTRIBUTING, CHANGELOG and so on for GitHub user or repository.
Stars: ✭ 199 (+485.29%)
Mutual labels:  cli-app
esp8266-oled-ssd1306-font-creator
Font creator for the esp8266-oled-ssd1306 library
Stars: ✭ 22 (-35.29%)
Mutual labels:  cli-app
roundup
un-official mirror of http://hg.code.sf.net/p/roundup/code -- used for CI. Please visit https://issues.roundup-tracker.org for finding starter issues or log new issues.
Stars: ✭ 20 (-41.18%)
Mutual labels:  cli-app
wifiqr
Create a QR code with your Wi-Fi login details
Stars: ✭ 207 (+508.82%)
Mutual labels:  cli-app
surger
⚑ Is there surge pricing around me right now?
Stars: ✭ 20 (-41.18%)
Mutual labels:  cli-app
augr
A simple command line time tracker
Stars: ✭ 19 (-44.12%)
Mutual labels:  cli-app
pycln
A formatter for finding and removing unused import statements.
Stars: ✭ 161 (+373.53%)
Mutual labels:  cli-app
s3kit
AWS S3 CLI tooklit
Stars: ✭ 21 (-38.24%)
Mutual labels:  cli-app
random
Random data generator AKA faker
Stars: ✭ 14 (-58.82%)
Mutual labels:  cli-app
heel-gun
Test HTTP servers for robustness to arbitrary requests
Stars: ✭ 17 (-50%)
Mutual labels:  cli-app
core
Simple backup-application for automated website backups.
Stars: ✭ 11 (-67.65%)
Mutual labels:  cli-app
twifo-cli
🐀 Get user information of a Twitter user.
Stars: ✭ 24 (-29.41%)
Mutual labels:  cli-app
file-icon-cli
Get the icon of a file or app as a PNG image (macOS)
Stars: ✭ 73 (+114.71%)
Mutual labels:  cli-app
emacs-helm-ghq
ghq with helm interface
Stars: ✭ 25 (-26.47%)
Mutual labels:  ghq
leak
Show info about package releases on PyPI.
Stars: ✭ 15 (-55.88%)
Mutual labels:  cli-app
qaz
qazβ€”A CLI tool for Templating & Managing stacks in AWS Cloudformation
Stars: ✭ 89 (+161.76%)
Mutual labels:  cli-app
random-art-generator
Command-line application to produce generative art based on a target image
Stars: ✭ 32 (-5.88%)
Mutual labels:  cli-app
doclt
Digital Ocean Command Line Tool
Stars: ✭ 43 (+26.47%)
Mutual labels:  cli-app

gst πŸ‘»

Actions Status: release sake.sh badge

gst is a simple toolbox that offers additional commands (list, new, rm, doctor, update, fetch) for ghq.

See Quick Install for the installation guide.

Usage

gst list or gst

List uncommitted changes and unpushed commits within all repositories.

$ gst
/Users/uetchy/Repos/src/github.com/uetchy/gst (11 minutes ago)
uncommitted changes
 M .travis.yml
 M README.md

/Users/uetchy/Repos/src/github.com/uetchy/qiita-takeout (9 hours ago)
unpushed commits
409849d returns Promise.reject

with --short or -s option:

$ gst --short
/Users/uetchy/Repos/src/github.com/uetchy/ferret
/Users/uetchy/Repos/src/github.com/uetchy/gst

new

Create a new git repository.

Before start using new and rm command, You must set github.user in gitconfig to your GitHub username: git config --global github.user <user>.

$ gst new epic-project
/Users/uetchy/Repos/src/github.com/uetchy/epic-project
$ gst new epic-team/epic-project
/Users/uetchy/Repos/src/github.com/epic-team/epic-project

With cd, you can jump to the created project quickly:

cd $(gst new epic-project)

It's also good for having a handy alias for this workflow:

newrepo() {
  cd $(gst new ${1})
}

rm

Remove a git repository. It also removes the containing directory if the deleted repository was the sole repository the parent directory had.

$ gst rm retired-project
Remove? /Users/uetchy/Repos/src/github.com/uetchy/retired-project [Y/n]
Removed /Users/uetchy/Repos/src/github.com/uetchy/retired-project
Removed /Users/uetchy/Repos/src/github.com/uetchy

doctor

Health-check over all repositories.

$ gst doctor
[bitbucket.org/uetchy/scent] git remote origin has changed:
   Expected:   github.com/uetchy/google-cloud-vision-raspi-sample
   Actual:       bitbucket.org/uetchy/scent

update

git pull to all repositories.

$ gst update
/Users/uetchy/Repos/src/github.com/uetchy/gst
Already up-to-date.

fetch

git fetch --tags --prune to all repositories.

$ gst fetch
/Users/uetchy/Repos/src/github.com/uetchy/gst
 * [new branch]      dev        -> origin/dev
 - [deleted]         (none)     -> origin/test
 * [new tag]         v1.0.0     -> v1.0.0

Quick Install

See releases.

macOS:

brew tap sake.sh/uetchy https://sake.sh/uetchy
brew install gst

Linux:

curl -L https://github.com/uetchy/gst/releases/download/v5.0.5/gst_linux_amd64 > /usr/local/bin/gst
chmod +x /usr/local/bin/gst

Run as Docker container

You can take a glance at what gst do before installing the actual binary by running the containerized Docker image.

alias gst="docker run --rm -v \$(ghq root):/ghq -it uetchy/gst"
gst --help
gst list

Pre-release build

macOS:

curl -L https://github.com/uetchy/gst/releases/download/pre-release/gst_darwin_amd64 > /usr/local/bin/gst
chmod +x /usr/local/bin/gst

Linux:

curl -L https://github.com/uetchy/gst/releases/download/pre-release/gst_linux_amd64 > /usr/local/bin/gst
chmod +x /usr/local/bin/gst

Head build

go get github.com/uetchy/gst

Development

PRs are welcome.

go build
./gst

Test

Docker is required to run tests.

make test

Contributors

Yasuaki Uechi
Yasuaki Uechi

πŸ’» πŸ“–
NaotoSuzuki
NaotoSuzuki

πŸ’»
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].