11 releases

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

#428 in Development tools

Download history 3503/week @ 2024-01-22 3513/week @ 2024-01-29 3407/week @ 2024-02-05 2632/week @ 2024-02-12 2633/week @ 2024-02-19 2673/week @ 2024-02-26 3233/week @ 2024-03-04 2861/week @ 2024-03-11 1888/week @ 2024-03-18 1544/week @ 2024-03-25 1641/week @ 2024-04-01 1441/week @ 2024-04-08 1525/week @ 2024-04-15 1526/week @ 2024-04-22 1926/week @ 2024-04-29 2293/week @ 2024-05-06

7,370 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

~11–29MB
~462K SLoC