{"size": 576, "ext": "scrbl", "max_stars_repo_path": "scribblings/command-pp.scrbl", "max_stars_repo_name": "yurkobb/argo", "max_stars_repo_stars_event_min_datetime": "2017-08-26T13:27:14.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-26T10:50:00.000Z", "max_issues_repo_path": "scribblings/command-pp.scrbl", "max_issues_repo_name": "yurkobb/argo", "max_issues_repo_issues_event_min_datetime": "2017-08-29T22:14:30.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-14T03:54:28.000Z", "max_forks_repo_path": "scribblings/command-pp.scrbl", "max_forks_repo_name": "yurkobb/argo", "max_forks_repo_forks_event_min_datetime": "2017-08-30T14:38:55.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-03T19:31:29.000Z"}
{"max_stars_count": 11, "max_issues_count": 7, "max_forks_count": 3, "avg_line_length": 18.5806451613, "max_line_length": 83, "alphanum_fraction": 0.7013888889}
#lang scribble/manual

@require[@for-label[racket/base
		    json]]

@title{@tt{pp}}

The @tt{pp} command takes a JSON file as input and pretty prints it to the console.

Run it like this:

@verbatim{
raco argo pp data.json
}

@bold{Exit code}

@tt{pp} exits cleanly (with code 0) provided:

@itemlist[
  @item{exactly one argument, @tt{data.json}, was supplied to it,}
  @item{@tt{data.json} exists and is a file, and}
  @item{@tt{data.json} is well-formed JSON.}
]

If any of these conditions fails, the exit code will be 1.

@bold{Options}

The command accepts no options.
