Skip to main content
On this page

Kater CLI Projects and timelines

kater cite

Cite the numbers of an answer before they are written.

A number of a run is cited when the run holds the value written, at the precision written, and its answer says whether the field is verified. A number the run does not hold is not cited, and the answer says what to write or how to cite it. Give where a number from outside Kater was read. A number worked out from other numbers of the list says how, and is cited when they give it. The answer gives one line for each number, then how many were cited and the link of the list’s Sources. With no number, it makes the list. Give one number with --value, or many with --figures.

Examples

Terminal window
# Cite the numbers of an answer before they are written
kater cite --in <in->

Options

OptionDescription
--in <in->Required. The list’s title, such as the deck the numbers go in. The same title cites into the same list, which opens as Sources.
--figures <figures>A JSON file of the numbers to cite: {“numbers”: […]}, each with the keys of the options below (value, label, number, result, field, row, origin, worked_out, of). origin is an object of the names --origin takes; of is a list of numbers.
--value <value>The number as it is written, such as ‘$563.4K’. It is cited only when it reads as the field’s value in the run.
--result <result>The run the number is read from, by the id that kater show prints (Run <id>).
--field <field>With --result: the field, by its name. A label is refused with the name.
--row <row>Where in its origin the number is. In a run: the row, as <field>=<value> (currency=USD), left out for a total or a run of one row. Outside Kater: the one cell, such as B5, of an origin that states its sheet.
--label <text>What the number is called. A number of a run takes its field’s label, so leave it out; give it for a number from outside Kater.
--origin <origin>A number from outside Kater: one part of its origin, as NAME=VALUE, once for each part: origin (link, file, person or mock), read-at, read-by, and the parts the origin needs (link: url, system, path, via; file: path, name, sheet, range; person: name, email, said; mock: reason). Not with --result. You can give it more than one time.
--worked-out <worked-out>A number worked out from other numbers of the list: how, which is plus, minus, times, divided by or average. Give --label and --of. It is cited when the numbers --of name give it. Not with --result or --origin.
--of <number>With --worked-out: a number of the list it is worked out from, once for each, in the order the operation reads them. Each is lower than the number cited. You can give it more than one time.
--number <number>The number of the citation in the list, to cite it again in place. Left out, the next number.

It also takes the global options anywhere on the line, and --help.

See also