hyperctl
Overview
The hyperctl
(pronounced "hyper control" or "hyper C-T-L") CLI tool is a fully-featured static site generator based on HyperTemplates.
What is a static site generator?
A static site generator is a tool for building websites.
A static site generator is a tool that generates a [static] HTML website based on raw data and a set of templates. Essentially, a static site generator automates the task of coding individual HTML pages and gets those pages ready to serve to users ahead of time. Because these HTML pages are pre-built, they can load very quickly in users' browsers.
What is a static website?
The term "static website" typically refers to the practice of serving pre-built HTML pages. The alternative approach to static websites is often referred to as a "dynamic website", in which pages are generated on-demand. In practice neither approach guarantees or restricts the type of content that can be created using these methods, they're just different workflows.
Usage
1$ hyperctl -h
2hyperctl is a lightweight static site generator based on HyperTemplates.
3
4Usage:
5 hyperctl [command] [options]
6
7
8Available commands:
9 asset Manage website assets.
10 build Build a static site from HyperTemplates.
11 content-type Inspect HyperTemplate theme content types.
12 data Manage global data.
13 deploy Deploy a static site build to a HyperProvider.
14 generate Generate a single page build from a HyperTemplate.
15 graph Fetch entity and page metadata from the HyperGraph™️.
16 mimetype Get file mimetype.
17 new Create a new website or page.
18 page Manage pages and drafts.
19 publish Publish a single page build to a HyperProvider.
20 render Render a HyperTemplate
21 server Run a local HTTP server.
22
23Options:
24 -h, --help Display help information.
Commands
asset
- Manage website assets.
build
- Build a static site from HyperTemplates.
content-type
- Inspect HyperTemplate theme content types.
data
- Inspect HyperTemplate global data.
deploy
- Deploy a static site build to a HyperProvider.
generate
- Generate a single page build from a HyperTemplate.
graph
- Fetch entity and page metadata from the HyperGraph™️.
mimetype
- Get file mimetype information.
new
- Create a new website or page.
page
- Manage pages and drafts.
publish
- Publish a single page build to a HyperProvider.
render
- Render a HyperTemplate
server
- Run a local HTTP server.