@stakeordie/emprops-utils-cli
v0.0.2
Published
A utility CLI tool for EmProps internal usage.
Downloads
1
Keywords
Readme
@stakeordie/emprops-utils-cli
A utility CLI tool for EmProps internal usage.
Installation
To install the CLI tool globally using npm, run:
npm install -g @stakeordie/emprops-utils-cli
Usage
Help
emprops-utils-cli -h
Download
Downloads a set of Models, Nodes and Loras for a Comfy workflow based on a YAML file.
emprops-utils-cli download [options]
Options
--config
: Optional. Path to the YAML configuration file specifying the components to download. Default is config.yaml
Examples
Usage
emprops-utils-cli download --config ./config.yaml
Configuration File
The YAML configuration file should follow this format:
workflow:
description: <workflow-description-informative-usage>
models:
- id: <model-name>
download_url: <repository-url>
download_path: <folder-path-to-download>
- id: <model-name>
download_url: <repository-url>
download_path: <folder-path-to-download>
custom_nodes:
- id: <node-name>
download_url: <repository-url>
download_path: <folder-path-to-download>
- id: <node-name>
download_url: <repository-url>
download_path: <folder-path-to-download>
Example YAML
workflow:
description: "Example Comfy workflow configuration"
models:
- id: "meta-llama/Meta-Llama-3.1-8B-Instruct"
download_url: "https://<username>:<token>@huggingface.co/yifeihu/TFT-ID-1.0"
download_path: "models"