Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
vouv committed Nov 2, 2020
1 parent 72b27be commit 5131396
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 36 deletions.
25 changes: 0 additions & 25 deletions .workflow/build-release.yml

This file was deleted.

8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,12 @@

```bash
go get -u -v github.com/vouv/srun/cmd/srun
```

开始使用
```bash
$GOPATH/bin/srun config
```

2. Download [Release](https://github.com/vouv/srun/releases/latest)

下载并开始使用
下载可执行文件
```bash
# linux
curl -L -o srun https://github.com/vouv/srun/releases/latest/download/srun-linux
Expand All @@ -70,8 +66,6 @@ chmod +x srun

## Usage

Usage: `srun [OPTIONS] COMMAND`

### Show Help

```
Expand Down
8 changes: 4 additions & 4 deletions cmd/srun/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ const Version = "v0.1.26"

var loginCmd = &cobra.Command{
Use: "login",
Short: "login srun",
Short: "Login srun",
RunE: LoginE,
}

var logoutCmd = &cobra.Command{
Use: "logout",
Short: "logout srun",
Short: "Logout srun",
RunE: LogoutE,
}

var infoCmd = &cobra.Command{
Use: "info",
Short: "get srun info",
Short: "Get srun info",
RunE: InfoE,
}

var configCmd = &cobra.Command{
Use: "config",
Short: "config srun",
Short: "Config srun",
RunE: ConfigE,
}

Expand Down

0 comments on commit 5131396

Please sign in to comment.