I don't see it in the source in query.go in the runQuery method:
func runQuery(cmd *Command, args []string) {
force, _ := ActiveForce()
if len(args) < 1 {
ErrorAndExit("must specify a query")
}
var query = ""
if args[len(args)-1] == "format:json" {
query = strings.Join(args[:len(args)-1], " ")
} else {
query = strings.Join(args, " ")
}
records, err := force.Query(query)
if err != nil {
ErrorAndExit(err.Error())
} else {
if args[len(args)-1] == "format:json" {
d, err := json.MarshalIndent(records, "", " ")
if err != nil {
ErrorAndExit(err.Error())
}
fmt.Println(string(d))
} else {
DisplayForceRecords(records)
}
}
}
It looks like it just handles the format:json arg, but it does specify csv in the help and you can see it in the help text in the query.go file as well.
Maybe whatever was demoed was in some separate branch or something. Hopefully it gets added in. I was just thinking of a use case. :)
If you want you can download the source and hack it yourself. Just blogged about that here. I can confirm that format:json works with that as expected - look very closely at the featured image on my blog. ;)
"SELECT Id, Name FROM Account"