File: run.go

package info (click to toggle)
gojq 0.12.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 952 kB
  • sloc: yacc: 642; makefile: 85
file content (12 lines) | stat: -rw-r--r-- 165 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
package cli

import "os"

// Run gojq.
func Run() int {
	return (&cli{
		inStream:  os.Stdin,
		outStream: os.Stdout,
		errStream: os.Stderr,
	}).run(os.Args[1:])
}