cmdlet refactor
This commit is contained in:
+5
-5
@@ -30,21 +30,21 @@ PIPELINE_PRESETS: List[PipelinePreset] = [
|
||||
PipelinePreset(
|
||||
label="Download → Merge → Local",
|
||||
description=
|
||||
"Use download-file with playlist auto-selection, merge the pieces, tag, then import into local storage.",
|
||||
"Use file -download with playlist auto-selection, merge the pieces, tag, then import into local storage.",
|
||||
pipeline=
|
||||
'download-file "<url>" | merge-file | add-tags -instance local | add-file -storage local',
|
||||
'file -download "<url>" | file -merge | metadata -add -instance local | file -add -storage local',
|
||||
),
|
||||
PipelinePreset(
|
||||
label="Download → Hydrus",
|
||||
description="Fetch media, auto-tag, and push directly into Hydrus.",
|
||||
pipeline=
|
||||
'download-file "<url>" | merge-file | add-tags -instance hydrus | add-file -storage hydrus',
|
||||
'file -download "<url>" | file -merge | metadata -add -instance hydrus | file -add -storage hydrus',
|
||||
),
|
||||
PipelinePreset(
|
||||
label="Search Local Library",
|
||||
description=
|
||||
"Run search-file against the local library and emit a result table for further piping.",
|
||||
pipeline='search-file -library local -query "<keywords>"',
|
||||
"Run file -search against the local library and emit a result table for further piping.",
|
||||
pipeline='file -search -library local -query "<keywords>"',
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user