The Archive · CLI reference · Commands

talos library

Your documents: import, search, read, export, find duplicates, reference them in a conversation.

Reference for TALOS CLI 0.3.3 generated from the npm package · released

TALOS CLI 0.5.2 is out; this page still describes 0.3.3 and updates with the next build.

<id> is the id talos library list shows.

OperationWhat it does
listdefault Lists the documents.
search Searches the documents.
read Prints a document.
preview Prints a short preview of a document.
duplicates Lists the documents with the same content (same SHA-256).
context-ref Prepares a reference to the document that a conversation can use as context.
import Imports a file into the library.
export Writes a document to a file.
rename Renames a document.
delete Deletes a document.

Without an operation, talos library runs list.

Lists the documents.

talos library list

Searches the documents.

talos library search <query>

Arguments

query
Text to find.

Prints a document.

talos library read <id>

Arguments

id
The id talos library list shows.

Prints a short preview of a document.

talos library preview <id>

Arguments

id
The id talos library list shows.

Lists the documents with the same content (same SHA-256).

talos library duplicates <id>

Arguments

id
The id talos library list shows.

Prepares a reference to the document that a conversation can use as context.

talos library context-ref <id>

Arguments

id
The id talos library list shows.

Imports a file into the library.

talos library import <file>

Arguments

file
The path of the file.

Writes a document to a file.

talos library export <id> --out <file>

Arguments

id
The id talos library list shows.

Options

--out <value>
The file to write (required).
Exit codes and errors1
CodeExitMeaning
LIBRARY_EXPORT_OUT_REQUIRED 2 The command or the configuration is not valid. Check the command, its options and the configuration.

Renames a document.

talos library rename <id> <name>

Arguments

id
The id talos library list shows.
name
The name, as the list shows it.

Deletes a document.

talos library delete <id>

Arguments

id
The id talos library list shows.

Type to search the guides.