phaistos-cli

0.0.3 • Public • Published

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.

Package Sidebar

Install

npm i phaistos-cli

Weekly Downloads

2

Version

0.0.3

License

Apache-2.0

Unpacked Size

39.3 kB

Total Files

42

Last publish

Collaborators

  • phaistos