bat icon indicating copy to clipboard operation
bat copied to clipboard

Go implement CLI, cURL-like tool for humans

Results 30 bat issues
Sort by recently updated
recently updated
newest added

``` $ bat -v -f POST https://api.weibo.com/oauth2/access_token redirect_uri=http://127.0.0.1/project/oauth/callback ``` the redirect_uri did not sent to server

![image](https://user-images.githubusercontent.com/7613160/45022407-c26ee380-b066-11e8-9eb9-cd28447a419e.png)

The following example results in a string as the value, instead of raw json: ``` > bat POST :8000 name:='{0:0}' POST / HTTP/1.1 Host: localhost:8000 Accept: application/json Accept-Encoding: gzip, deflate...

The current bat help message says: ``` ... ITEM: Can be any of: Query string key=value Header key:value Post data key=value File upload key@/path/file ... ``` I was trying to...

I've tried ` go build -ldflags '-extldflags "-fno-PIC -static"' -buildmode pie -tags 'osusergo netgo static_build'` and ` go build -ldflags '-extldflags "-fPIC -static"' -buildmode pie -tags 'osusergo netgo static_build'`. Both...

Every exported function in a program should have a doc comment. The first sentence should be a summary that starts with the name being declared. From [effective go](https://golang.org/doc/effective_go.html#commentary). PR generated...

I need to post JSON containing Lucene queries, that tends to contain colons. E.g. q=cm:title:foo That did not work though, bat tries to parse it as a header and then...

Reading https://github.com/astaxie/bat/blob/master/bat.go#L195-L204 bat attempts to parse stdin as JSON, and when it succeeds, the body content may be different to what was originally submitted. For example if that content has...