Skip to content

Commit 42bcc03

Browse files
committed
added open to dependencies, crossed out thing i did
1 parent 245de85 commit 42bcc03

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It makes [gists](https://gist.github.com/) out of files! From the command line!
66
## features ##
77

88
- it takes multiple files, single files, or
9-
[eventually](https://github.com/AWinterman/gist-put/blob/master/gist-put#L17-L20),
9+
[eventually](https://github.com/AWinterman/gist-put/blob/master/gist-put#L22),
1010
no files at all!
1111
- it doesn't care if you reference files in `pwd` or in some distant
1212
directory (this was a problem with the alternative I tried).
@@ -50,7 +50,7 @@ twitter) and we can work it out. Even better, submit a pull request!
5050
## usage ##
5151

5252
`gist-put` will make a gist, and print the url to the command line. Eventually
53-
this will also put the url in your clipboard, or open a browser window with
53+
this will also put the url in your clipboard, or <del>open a browser window</del> with
5454
your gist in it, just the way everybody else's gist utility does. There are options to determine
5555
privacy on the gist, and to add a description if you swing that way.
5656

@@ -69,6 +69,9 @@ gist-put 1-file-to-gist 2-file-to-gist 3-file-to-gist
6969

7070
# make it anonymous
7171
gist-put -a file
72+
73+
# open it in your browser once it's created
74+
gist-put -o file
7275
```
7376

7477
## Use it like a module ##

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"commander": "~1.1.1",
2424
"request": "~2.20.0",
2525
"ap": "~0.2.0",
26-
"temp": "~0.5.0"
26+
"temp": "~0.5.0",
27+
"open": "0.0.3"
2728
},
2829
"preferGlobal": "true",
2930
"bin": {

0 commit comments

Comments
 (0)