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
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.
| Operation | What 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 listsearch
Section titled “search”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 listshows.
preview
Section titled “preview”Prints a short preview of a document.
talos library preview <id>Arguments
id- The id
talos library listshows.
duplicates
Section titled “duplicates”Lists the documents with the same content (same SHA-256).
talos library duplicates <id>Arguments
id- The id
talos library listshows.
context-ref
Section titled “context-ref”Prepares a reference to the document that a conversation can use as context.
talos library context-ref <id>Arguments
id- The id
talos library listshows.
import
Section titled “import”Imports a file into the library.
talos library import <file>Arguments
file- The path of the file.
export
Section titled “export”Writes a document to a file.
talos library export <id> --out <file>Arguments
id- The id
talos library listshows.
Options
-
--out <value> - The file to write (required).
Exit codes and errors1
| Code | Exit | Meaning |
|---|---|---|
LIBRARY_EXPORT_OUT_REQUIRED | 2 | The command or the configuration is not valid. Check the command, its options and the configuration. |
rename
Section titled “rename”Renames a document.
talos library rename <id> <name>Arguments
id- The id
talos library listshows. name- The name, as the list shows it.
delete
Section titled “delete”Deletes a document.
talos library delete <id>Arguments
id- The id
talos library listshows.