IF Commons GitHub

physical/verbs/query

Written to: 2 requirements: 2 proved, 0 partly, 0 failing, 0 with no test recorded. 0012-repoctl-query FR-004, 0012-repoctl-query FR-005

repoctl query on Headless (commons repoctl 0012-repoctl-query FR-004, FR-005): one read-only SELECT over the libraries, specifications and requirements of the repository, answered as a table or as JSON. It reads the manifests and the tables of the spec kits through the world's ports and changes nothing.

import { queryVerb } from "@intellectual-frontiers/repoctl/physical";
typeof queryVerb; // "function"

Source: commons/repoctl/src/physical/verbs/query.ts

0 of 4 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

physical.tableTextfunctionno test imports it
function tableText(columns: readonly string[], rows: readonly (readonly (string | number | boolean | null)[])[]): string

The rows as aligned text: a header, then a row for each, the columns padded to the widest value.

physical.queryVerbconstno test imports it
const queryVerb: Make

repoctl query.

tableTextfunctionno test imports it
function tableText(columns: readonly string[], rows: readonly (readonly (string | number | boolean | null)[])[]): string

The rows as aligned text: a header, then a row for each, the columns padded to the widest value.

queryVerbconstno test imports it
const queryVerb: Make

repoctl query.

Titles, headings, exports, tables, columns and requirements. Esc closes.