Skip to content

Commit

Permalink
🎉 version 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
budougumi0617 committed Sep 26, 2019
1 parent 7f8a523 commit c6ccdd4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,27 @@ Pure Go implementation of [dtt][dtt].

## Description
Pure Go implementation of [dtt][dtt].
dkl is the text-mode interface for docker and kubectl command.
dkl is the text-mode interface for docker and kubectl command. dkl shows containers(or pods), and exec(login) selected it.

## Demo & VS.

## Requirement
Need `docker`, and `kubectl` commands.

## Usage

```
$ dkl -h
Usage:
dkl
dkl -k | --kubectl
dkl -h | --help
dkl -c | --config
Options:
-k --kubectl kubectl mode
-h --help Show this screen and exit.
-c --config Show config
Usage of dkl:
-d list docker containers and exec selected container.
-docker
list docker containers and exec selected container.
-k list pods and exec selected pod.
-kubernetes
list pods and exec selected pod.
-v Print version information and quit.
-version
Print version information and quit.
```

## Install
Expand All @@ -30,8 +32,7 @@ You can download binary from [release page](https://github.com/budougumi0617/dkl
### MacOS
If you want to install on MacOS, you can use Homebrew.
```
brew tap budougumi0617/tap
brew install budougumi0617/dkl
brew install budougumi0617/tap/dkl
```


Expand Down
4 changes: 2 additions & 2 deletions dkl.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (
)

const (
version = "0.0.0"
version = "0.0.1"
)

// Run is entry point.
func Run(args []string, inStream io.Reader, outStream, errStream io.Writer) error {
var v, d, k bool
vdesc := "Print version information and quit."
vdesc := "print version information and quit."
ddesc := "list docker containers and exec selected container."
kdesc := "list pods and exec selected pod."
cmdName := args[0]
Expand Down

0 comments on commit c6ccdd4

Please sign in to comment.