Skip to content

Commit 09cbae5

Browse files
committed
Add documentation for the command
1 parent 113e080 commit 09cbae5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
Please is a utility for making and receiving web requests and parsing and reformatting the common data formats that are sent over them.
3+
4+
Examples:
5+
6+
To make a web request, parse the response as json and reformat it in yaml:
7+
8+
please get http://my.api.com/things | please parse -i json -o yaml
9+
10+
To listen for a web request on port 8001 and reply "Hello, world":
11+
12+
echo "Hello, world" | please respond :8000
13+
*/
14+
package main

0 commit comments

Comments
 (0)