Skip to content

A CLI tool for managing Letterpad installations and upgrades

License

Notifications You must be signed in to change notification settings

letterpad/letterpad-cli

Repository files navigation

Build Status

Letterpad CLI

A CLI tool for managing Letterpad installations, builds and upgrades.

The above screenshot displays how letterpad can be installed using this CLI app.

Installation

npm i -g letterpad-cli

Commands

# Help
letterpad --help

# Install a new instance of letterpad
letterpad install

# Upgrade an exisiting instance of letterpad
letterpad upgrade

# Rebuild an existing instance of letterpad
letterpad build

# List all the instances
letterpad list

# Edit a particular the instance
letterpad edit

# Remove a particular instance
letterpad remove

Every installation of a particular version has a cached copy of its sources inside ~/.cache/letterpad. The node_modules folder of every installation is symlinked to its source to reduce space. This means if you install letterpad three times to run three different blogs, all installations will have only one shared node_modules folder.

This app does not take care of starting a letterpad instance. You will need to use something like a Process Manager for this.

About

A CLI tool for managing Letterpad installations and upgrades

Resources

License

Stars

Watchers

Forks

Packages

No packages published