hyperctl asset lookup command
Overview
Lookup a static asset by its path.
The hyperctl asset lookup command reads website configuration and searches the configured theme, website, and content subdirectories for the asset source file.
hyperctl's
whichcommand. Thehyperctl asset lookupcommand is similar to the POSIXwhichcommand, which is used to lookup the binary for a given command. In a similar way, thehyperctl asset lookupcommand is used to determine which source file is being used for a given asset path.See the asset hierarchy reference for more information.
Usage
1lookup a static asset by its path.
2
3Usage:
4 hyperctl asset lookup [options] <path>
5
6Options:
7 -c, --config path to the website configuration file. (required) (env: HYPER_CONFIG) (default: site.yaml)
8 -h, --help Display help information.
Options
-c,--config- Path to the website configuration file (
site.yamlorsite.json).Defaults to the
HYPER_CONFIGenvironment variable, if set.To configure a default, use the
exportcommand.1export HYPER_CONFIG="site.yaml"