loco-cli

nameloco-cli
created_at2023-11-23 12:05:19.30992
updated_at2023-12-23 19:28:16.732865
downloads6251
descriptionloco cli website generator
homepagehttps://docs.rs/loco-cli
repository
max_upload_size
id1046048
Dotan J. Nahum

documentation

https://docs.rs/loco-cli

readme

# Loco CLI Loco CLI is a powerful command-line tool designed to streamline the process of generating Loco websites. ## Running Locally When working with loco-cli against the local Loco repository, you can utilize the `LOCO_DEBUG_PATH` environment variable to point the generator to a local starter instead of fetching from GitHub. ```sh cd loco-cli $ LOCO_DEBUG_PATH=[FULL_PATH]/loco-rs/loco cargo run new --path /tmp ``` ## Installation To install Loco CLI, execute the following command in your terminal: ```sh cargo install loco-cli ``` ## Usage ### Generating a Website This command generates a website in your current working directory: ```sh loco new ``` To generate the website in a different directory, use the following command: ```sh loco new --path /my-work/websites/ ```
Commit count: 0

cargo fmt