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 which command. The hyperctl asset lookup command is similar to the POSIX which command, which is used to lookup the binary for a given command. In a similar way, the hyperctl asset lookup command 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.yaml or site.json).

Defaults to the HYPER_CONFIG environment variable, if set.

To configure a default, use the export command.

1export HYPER_CONFIG="site.yaml"
Edit this page on GitHub

💬 Join the community

Stay up-to-date with the lastest releases and other news from Team HyperTemplates. Ask the developers questions, get help from the community, and share your creations! 🎨