IF Commons GitHub

sql/cli/profile

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0047-arcactl-init FR-013

The shell profile (commons data 0047-arcactl-init FR-013): the script arcactl shell prints for a person's default instance is kept in a cache file of arcactl's, so that a shell starts fast and does not run arcactl each time, and a managed block in the profile of the shell sources it where it is there. The block is arcactl:shell, which is not the block of Ergonex (# >>> ergonex >>>): both can be in one profile.

Source: commons/data/sql/cli/profile.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.

cacheOfconstno test imports it
const cacheOf: (paths: Paths, shell: Shell) => string

The file the script of a shell is cached in.

inputOffunctionno test imports it
function inputOf(shell: Shell, paths: Paths, known: Known | undefined): ShellInput

What the script of a shell is made from, for an instance (none where a person has none yet).

profileBodyfunctionno test imports it
function profileBody(shell: Shell, cache: string): string

The lines of the block in the profile: source the cache where it is there.

scriptForfunctionno test imports it
function scriptFor(shell: Shell, paths: Paths, known: Known | undefined): string

The script that is cached, or why it cannot be made.

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