Asset/mise/Task/add
Properties
- logseq-entity
- Logseq/Entity/Mise/Task
- task-config-root
- .
- task-name
- asset:add
Track a Local Asset
- Copies a source file into
assets/.remote/using the filename derived from its asset page, then creates adjacent.dvcmetadata. Invocation
- Run from the garden checkout. The page argument is its logical name, without wikilink brackets.
- Logseq/Entity/Asset defines page-derived filenames and valid names.
Files and access
- Creates a working copy and metadata. An existing working copy is updated by passing that same working path as SOURCE; a different source cannot replace it.
- Mise supplies Python and uv; the asset package pins DVC and its S3 client. The Git checkout supplies
.dvc/configand theassetsfnox profile. Linked worktrees use the main checkout’s encrypted fnox cache. - Commit adjacent
.dvcmetadata for added assets anddvc.yamlplusdvc.lockfor conversions. Working recordings stay ignored underassets/.remote/.
Recovery and help
- A missing input needs adding or fetching before conversion. An invalid asset name needs correction according to Logseq/Entity/Asset. Storage authentication needs refreshing the garden’s fnox cache.
- sh
mise run asset:add --help
- Copies a source file into