An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


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

```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
```