File: run.go

package info (click to toggle)
golang-github-wader-gojq 0.0~git20231105.2b6d9e2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 960 kB
  • sloc: yacc: 642; makefile: 84
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:])
}