James Rivett-Carnac

Results 25 issues of James Rivett-Carnac

There is an optimization you can make for you Triangle type, though it sort of prevents using Triangle literals. ``` type Triangle struct { V1, V2, V3 Vector Box Box...

Its in the stdlib flag interface; and when you're doing flagset specific `Usage()` functions, you kinda need it if you want to use the same output as the `flag.Usage()`...

They should include an explination of the format for running commands (eg. where does the `-- ep -- cat filename` come from, and how do you change this)

``` $ es dec --region ap-southeast-1 -- `which ep` *.properties || echo failed 2016/12/23 16:02:30 [ ERROR ] Zero files matched passed globs '[]' failed $ es dec --region ap-southeast-1...

``` $ es dec --region ap-southeast-1 -- `which ep` -- `which cat` *.env panic: runtime error: index out of range goroutine 1 [running]: panic(0x57a020, 0xc420010250) /usr/lib/go/src/runtime/panic.go:500 +0x1a1 github.com/spf13/cobra.(*Command).ExecuteC(0xc4200ae240, 0x5a6859, 0xf,...