preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

`statocles status` command #516

Closed preaction closed 7 years ago

preaction commented 7 years ago

It would be really nice to know a few things about the site that Statocles could know:

To make this happen, when statocles deploy is run it should save a status.yml file in the .statocles directory. This YAML file should contain the following keys:

Once this file is written, running statocles status should display some human-readable text explaining the status of the site. For example, if I last ran the command statocles deploy --date 2016-06-26 on 2016-10-16 at 2:34 PM, the status command should tell me:

$ statocles status
Last deployed on 2016-10-16 at 14:34
Deployed up to date 2016-06-26

In the future, a lot more could be done with this, but for now this is the information I need to know to be able to manage my sites.

preaction commented 7 years ago

This is being implemented by @perlancar in PR #527

preaction commented 7 years ago

This was released with v0.083