Skip to content

A CLI tool for automating some repetitive daily chores. Written in go

Notifications You must be signed in to change notification settings

thiskevinwang/tk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toolkit logo

Toolkit

Repetitive. Chores. Automated.

latest release go version

What is Toolkit?

Toolkit is a CLI tool for myself to avoid doing some repetitive and tedious daily chores. These include, but are not limited to:

  • Logging into the AWS Dashboard
  • Selecting from a handful of Github repos to open in the browser

... more tasks to come!

Installation

Homebrew

brew tap thiskevinwang/tk https://github.com/thiskevinwang/tk
brew install tk
tk

Usage

tk aws [federated-identity-name]

Launch AWS console in your browser

tk repo

Select a Github repository to open in your browser

tk tree [path]

List contents of directories in a tree-like format.

Configuration

tk will create a yaml configuration file at <homedir>/.tk/config.yaml.

cat ~/.tk/config.yaml

# loglevel: warn
# repos: []

Benchmark

go test ./cmd -bench=.

Release Process

export GITHUB_TOKEN=<...>
# commit some changes
git tag vX.X.X
goreleaser release --rm-dist
# a commit will be created, updating the `Formula`
git pull
brew tap thiskevinwang/tk https://github.com/thiskevinwang/tk.git
brew install tk