phaistos-cli v0.0.3
Phaistos Templating Client
Client for managing Phaistos.io templates.
Installation
npm i -g phaistos-cliUsage
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.