Version 0.17.0 is now available

hyperctl version 0.17.0 adds support for overriding site.config.content_dir , site.config.data_dir , site.config.static_dir , and site.config.theme from command flags and/or environment variables. These changes make it possible to build multiple versions of a site from the same commit without needing to modify site.yaml or site.json . See the hyperctl build, hyperctl deploy, hyperctl generate, hyperctl publish, and hyperctl server commands for more information.

Version 0.17.0 is available to download now:

Changelog

  • Added support for overriding site.config.content_dir, site.config.data_dir, site.config.static_dir, and site.config.theme from command flags and/or environment variables.
  • Added --content-dir flag to hyperctl build, hyperctl deploy, hyperctl generate, hyperctl publish, and hyperctl server commands
  • Added --data-dir flag to hyperctl build, hyperctl deploy, hyperctl generate, hyperctl publish, and hyperctl server commands
  • Added --static-dir flag to hyperctl build, hyperctl deploy, hyperctl generate, hyperctl publish, and hyperctl server commands
  • Added --theme flag to hyperctl build, hyperctl deploy, hyperctl generate, hyperctl publish, and hyperctl server commands
  • Added Server.WebsiteConfig field for storing configuration overrides
  • Changed Website.Load() processing order so website.ResolveConfig() is called before website.Theme.Parse()
  • Changed Website.Load() to accept a WebsiteConfig argument for configuration overrides
  • Changed Website.ResolveConfig() to accept a WebsiteConfig argument for configuration overrides
  • Changed WebsiteConfig.Resolve() to accept a WebsiteConfig argument for configuration overrides
  • Changed HyperBuild.Execute() to accept a WebsiteConfig argument for configuration overrides

Hey would it be possible to consider also adding functionality for defining the build_dir? This part of the docs says it should be possible, but its not working: https://hypertemplates.net/docs/reference/cms/website/#site-config

Also not seeing the option as a flag in the recent release.

It’s super low priority, builds is fine, but some other tools use dist or _site (11ty) and have options to remap the output dir.

Try builds_dir (plural)