Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlubo committed Aug 22, 2019
1 parent f70f095 commit 1146491
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ mclusters ls
```
![mclusters](https://github.com/cnlubo/myssh/blob/master/snapshots/mclusters-1.gif)

### 管理 cluster
### 管理 clusters

```bash
mclusters add
Expand All @@ -397,4 +397,32 @@ mclusters del
```
![mclusters-manage](https://github.com/cnlubo/myssh/blob/master/snapshots/mclusters-manage.gif)

### 批量执行命令

```bash
mclusters bt -h
Batch exec command for cluster.

Usage:
myssh clusters batch hostPatterns command ... [flags]

Aliases:
batch, bt

Flags:
-h, --help help for batch
-i, --identityfile string identity file (private key) for public key authentication.
-P, --password Prompt for password
-p, --port int Port for the remote SSH service (default 22)
-u, --user string User account for SSH login

Global Flags:
--configPath string Path where store myssh profiles.
can also be set by the MYSSH_CONFIG_HOME environment variable. (default "/Users/ak47/.myssh")
--mkmPath string Path where myssh should store multi SSHKeys.
can also be set by the MKM_PATH environment variable. (default "/Users/ak47/.mkm")
--no-color Disable color when outputting message.
--sshPath string Path to .ssh folder.
can also be set by the SSH_PATH environment variable. (default "/Users/ak47/.ssh")
```
![mclusters-batch](https://github.com/cnlubo/myssh/blob/master/snapshots/mclusters-batch.gif)
Binary file added snapshots/mclusters-batch.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1146491

Please sign in to comment.