IF Commons GitHub

physical/verbs/setup

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0004-anyfs-cli-surfaces FR-014

The verbs of the program that say what it is set up to reach (commons anyfs-cli 0004-anyfs-cli-surfaces FR-014): places lists the mounts of the configuration and the kinds of place with what each is today (a store the program has, one a library brings, or none yet), doctor says what is wrong with this computer's setup for the program and the command for each, and trust-host is the verb of first contact with a host that Headless provides, made for the hosts of the mounts: it shows what a host presents and records it only once a person has checked its fingerprint.

import { setupVerbs } from "./setup.ts";
// setupVerbs(host, run).map((v) => v.name); // ["places", "doctor", "trust-host"]

Source: commons/anyfs-cli/src/physical/verbs/setup.ts

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

setupVerbsfunctionno test imports it
function setupVerbs(host: Host, run: RunLocal): readonly Command[]

The verbs that say what the program reaches.

kindStatusfunctionno test imports it
function kindStatus(host: Host, kind: "file" | "gdrive" | "git" | "github" | "gitlab" | "memory" | "onedrive" | "s3" | "sql" | "ssh"): "built in" | "from the configuration" | "no store yet"

What a kind of place is in this program: its own store, one the configuration's openers bring, or none yet.

mountTargetsfunctionno test imports it
function mountTargets(host: Host): readonly Target[]

The ssh targets of the mounts: each is named for its mount, so that trust-host fleet is the host of the mount fleet.

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