https://github.com/thiskevinwang/tk
A CLI tool for automating some repetitive daily chores. Written in go
https://github.com/thiskevinwang/tk
cli cobra command-line go golang goreleaser toolkit viper
Last synced: about 1 month ago
JSON representation
A CLI tool for automating some repetitive daily chores. Written in go
- Host: GitHub
- URL: https://github.com/thiskevinwang/tk
- Owner: thiskevinwang
- Created: 2021-09-25T01:10:00.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-25T06:30:55.000Z (over 4 years ago)
- Last Synced: 2025-03-06T05:41:56.874Z (over 1 year ago)
- Topics: cli, cobra, command-line, go, golang, goreleaser, toolkit, viper
- Language: Go
- Homepage: https://thekevinwang.com/toolkit/
- Size: 66.4 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Toolkit
Repetitive. Chores. Automated.
## 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
```sh
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 `/.tk/config.yaml`.
```bash
cat ~/.tk/config.yaml
# loglevel: warn
# repos: []
```
## Benchmark
`go test ./cmd -bench=.`
# Release Process
```bash
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
```