11 releases

0.2.6 Mar 11, 2024
0.2.5 Dec 23, 2023
0.1.3 Nov 28, 2023

#396 in Development tools

Download history 2817/week @ 2023-12-23 2617/week @ 2023-12-30 2436/week @ 2024-01-06 2742/week @ 2024-01-13 3325/week @ 2024-01-20 3508/week @ 2024-01-27 3544/week @ 2024-02-03 2791/week @ 2024-02-10 2615/week @ 2024-02-17 2671/week @ 2024-02-24 2987/week @ 2024-03-02 3102/week @ 2024-03-09 2167/week @ 2024-03-16 1569/week @ 2024-03-23 1613/week @ 2024-03-30 1351/week @ 2024-04-06

7,081 downloads per month

Apache-2.0

32KB
629 lines

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.

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:

cargo install loco-cli

Usage

Generating a Website

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/

Dependencies

~12–31MB
~466K SLoC