trellis_cli 0.8.1
trellis_cli: ^0.8.1 copied to clipboard
CLI tool for the Trellis template engine — project scaffolding, static site build, and local development server.
Changelog #
0.8.1 #
Changed #
- Lockstep version bump to keep all Trellis SDK packages on a single shared version. No functional changes in this package.
0.8.0 #
Changed #
- Version aligned to the unified Trellis SDK lockstep versioning scheme — all SDK packages now share a single version number and are released together. No functional changes since 0.3.0.
0.3.0 #
Added #
trellis themecommand group with five subcommands:add,update,list,info,remove.trellis theme add <url|path>installs themes from git URLs (shallow clone) or local paths, with optional--refpinning.trellis theme update [<name>]updates installed themes via git pull or pinned ref checkout, withmin_trellis_versioncompatibility warning.trellis theme listshows installed themes with active marker and versions.trellis theme info <name>displays manifest metadata and all params with current/default values.trellis theme remove <name>deletes theme directory, clearstheme:from config, warns about orphanedtheme_params:.trellis create --template themescaffolds a new theme project withtheme.yaml, layouts, SASS architecture, skins, and example preview site.- SASS bridge wiring:
trellis buildgenerates a bridge wrapper that imports_theme_params.scssbefore the theme's SCSS, ensuring merged params override!defaultdeclarations. - Theme SASS compilation from the theme's
sass/directory duringtrellis build.
Fixed #
trellis buildnow preservesthemeConfig,feeds, andsearchConfigwhen applying CLI overrides (previously dropped, breaking themed builds, feed generation, and search indexing).
0.2.0 #
Added #
trellis buildfor running the fulltrellis_sitestatic-site pipeline fromtrellis_site.yaml.trellis servefor previewing built output with clean URL handling.trellis create --template blogfor generating a Trellis blog starter with content, layouts, taxonomies, and styles.trellis create --template dart_frogfor generating a Dart Frog + Trellis + HTMX starter with file-based routing, security headers, CSRF protection, and hot reload.trellis create --template relicfor generating a Relic + Trellis + HTMX starter with explicit-engine wiring and counter fragment handling.
Changed #
- Expanded the starter lineup from the original Shelf scaffold to four documented templates:
htmx,blog,dart_frog, andrelic.
0.1.0 #
Added #
trellis create <project-name>for scaffolding a Shelf + Trellis + HTMX application.- Project-name validation for Dart naming rules and reserved words.
- Starter templates demonstrating template inheritance, HTMX fragments, security middleware, CSRF protection, and optional dev-mode live reload.
--helpand--versionCLI support.