Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
conortm committed Mar 9, 2016
1 parent 514d6d8 commit ad0c50c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Via configuration, specify individual GitHub users and/or entire teams, whose SS

## Installation

```sh
$ go get github.com/conortm/ghkeys
```bash
go get github.com/conortm/ghkeys
```

## Configuration
Expand Down Expand Up @@ -41,20 +41,20 @@ users:

To print all keys:

```sh
$ ghkeys -config="/path/to/config.yml"
```bash
ghkeys -config=/path/to/config.yml
```

Pass single username argument to print only that user's keys, for example, when using `AuthorizedKeysCommand`:

```sh
$ ghkeys -config="/path/to/config.yml" superadmin
```bash
ghkeys -config=/path/to/config.yml superadmin
```

Use the `-write` flag to write keys to users' `authorized_keys` files:

```sh
$ ghkeys -config="/path/to/config.yml" -write
```bash
ghkeys -config=/path/to/config.yml -write
```

## TODO
Expand All @@ -65,4 +65,4 @@ $ ghkeys -config="/path/to/config.yml" -write

## License

[MIT](./LICENSE) © [Conor McNamara](https://github.com/conortm)
[MIT](./LICENSE) © [Conor McNamara](http://conortm.io/)

0 comments on commit ad0c50c

Please sign in to comment.