Crates.io | loco-cli |
lib.rs | loco-cli |
version | 0.2.7 |
source | src |
created_at | 2023-11-23 12:05:19.30992 |
updated_at | 2024-06-06 06:45:31.739066 |
description | loco cli website generator |
homepage | https://docs.rs/loco-cli |
repository | |
max_upload_size | |
id | 1046048 |
size | 75,712 |
Loco CLI is a powerful command-line tool designed to streamline the process of generating Loco websites.
To install Loco CLI, execute the following command in your terminal:
cargo install loco-cli
This command generates a website in your current working directory:
loco new
To generate the website in a different directory, use the following command:
loco new --path /my-work/websites/
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.
cd loco-cli
$ LOCO_DEBUG_PATH=[FULL_PATH]/loco-rs/loco cargo run new --path /tmp