Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.
/ electric-cli Public archive

CLI for creating and building electric sites.

Notifications You must be signed in to change notification settings

deprecate/electric-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electric-cli

Command line tools for electric.

Note: this CLI is only intended for electric 2.0.0, it does not support 1.x projects.

Install

$ npm i -g electric-cli

Commands

You can see information for each supported command by typing $ electric in the command line.

build

$ electric build

Builds electric site and places file in dist directory.

init

$ electric init

Creates a new electric project.

run

$ electric run

Runs the build, watch, and server commands for quick development.

server

$ electric server

Starts up a local development server.

watch

$ electric run

Watches for changes and triggers build.

About

CLI for creating and building electric sites.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •