/cli

Biblys command line interface

Primary LanguageTypeScript

biblys/cli

Biblys Command Line Interface

Install

git clone
cd cli
npm install -g .

Usage

All commands can be run for one site, several sites or all sites

Run for one site

biblys [command] [site] [...arguments]

Run for several sites

biblys [command] [site1,site2,site3] [...arguments]

Run for all sites

biblys [command] all [...arguments]

deploy

Deploy a site

biblys deploy [site] [version]

version

Display a site's current version

biblys version [site]

config:get

Get a config option value for a site

biblys config:get [site] [path]
biblys config:set demo maintenance.enabled

config:set

Set a config option value for a site

biblys config:set [site] [path]=[value] [path]=[value]
biblys config:set demo maintenance.enabled=true

config:del

Deletes a config option value for a site

biblys config:del [site] [path]=[value] [path]=[value]
biblys config:del demo maintenance.message

theme:update

Update a site's theme to its latest version

biblys theme:update [site]

theme:switch

Replace current site theme with another one

biblys theme:switch [current] [target]