references#
Name folders and repositories that @name in a message refers to
usage: openprogram references [-h] verb ...
references list#
List the registered references
| Option | Description |
|---|---|
--json |
Emit JSON |
references add#
Register a folder or a repository URL under a name (replaces that name)
| Option | Description |
|---|---|
name |
The name @name refers to: letters, digits, '.', '_', '-' |
target |
A folder (relative to the current directory, or absolute), or an https://, ssh:// or git@host:path repository URL, cloned into the profile's references folder |
--writable |
Let the agent write in the folder (references are read-only otherwise; a cloned repository is always read-only) |
--branch BRANCH |
Branch of a repository to clone |
--description DESCRIPTION |
When the reference is useful; shown to the model next to its name |
references remove#
Unregister a reference (a clone no other reference uses is deleted)
| Option | Description |
|---|---|
name |
Reference name |
references refresh#
Update a cloned repository to its remote branch
| Option | Description |
|---|---|
name |
Reference name |