Command line tools for electric.
Note: this CLI is only intended for electric
2.0.0
, it does not support1.x
projects.
$ npm i -g electric-cli
You can see information for each supported command by typing $ electric
in the command line.
$ electric build
Builds electric site and places file in dist
directory.
$ electric init
Creates a new electric project.
$ electric run
Runs the build
, watch
, and server
commands for quick development.
$ electric server
Starts up a local development server.
$ electric run
Watches for changes and triggers build.