hyperctl asset add
command
Overview
Add static assets to a website.
The hyperctl asset add
command reads website configuration and copies external assets into the configured static asset directory (see site.config.static_dir
).
Usage
1$ hyperctl asset add -h
2Add a static asset to a website.
3
4Usage:
5 hyperctl asset add [options] <asset> <path>
6
7Options:
8 -c, --config path to the website configuration file. (required) (env: HYPER_CONFIG) (default: site.yaml)
9 -h, --help Display help information.
Options
-c
,--config
- Path to the website configuration file (
site.yaml
orsite.json
).Defaults to the
HYPER_CONFIG
environment variable, if set.To configure a default, use the
export
command.1export HYPER_CONFIG="site.yaml"