Skip to content

Commit 447795a

Browse files
committed
Updated README to include 'list' example and usage
1 parent db7dfd4 commit 447795a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ with:
2525
```bash
2626
$ gh-auth add chrishunt
2727
Adding 2 key(s) to '/Users/chris/.ssh/authorized_keys'
28+
29+
$ gh-auth list
30+
Added users: chrishunt, zachmargolis
2831
```
2932

3033
That was easy! When we're done working, you can revoke my access with:
@@ -72,7 +75,7 @@ Removing 2 key(s) from '/Users/chris/.ssh/authorized_keys'
7275
`gh-auth` can be used from the command line after the gem has been installed.
7376

7477
```bash
75-
usage: gh-auth [--version] [add|remove] <username>
78+
usage: gh-auth [--version] [add|remove|list] <username>
7679
```
7780

7881
### In Your Project
@@ -102,7 +105,7 @@ Install the `github-auth` gem:
102105
$ gem install github-auth
103106

104107
$ gh-auth
105-
usage: gh-auth [--version] [add|remove] <username>
108+
usage: gh-auth [--version] [add|remove|list] <username>
106109
```
107110

108111
### SSH Public Key Authentication (Mac OS X)

0 commit comments

Comments
 (0)