0.0.3 • Published 3 years ago

phaistos-cli v0.0.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
3 years ago

Phaistos Templating Client

Client for managing Phaistos.io templates.

Installation

npm i -g phaistos-cli

Usage

Setting up

Run phaistos init and enter your project id and an api key (both can be found in the Phaistos admin interface). This will fetch the current development template from your project and set up the template files.

Updating local repository

Run phaistos pull to load the latest template changes from your project.

Pushing local changes

Run phaistos push to update the project development template.

Watching for changes

Run phaistos watch to watch for file changes, those will be immediately updated in the project's development template.

Publishing development changes

Run phaistos publish to publish your development template changes to the live site.

Change history

Run phaistos log to display the changelog of the development template.

Revert changes

Run phaistos revert [hash] to revert the development template to a specific commit.

Generate empty template

Run phaistos generate to generate a minimalistic template.