Hosanna Tools
Hosanna Tools is a command-line utility for managing Hosanna projects. It provides essential commands for creating new projects, updating the SDK, generating structs (which are required for Hosanna apps), and more.
Hosanna Tools CLI
You can access the CLI using the hst command. Here are the available commands:
The CLI output includes the build date and version number. This helps developers verify they are using the correct version of the tools for their project.
hosanna-tools: Version: 0.6.0 (build date: 2025-08-04T18:51:06.015Z)
hst <command> [options]
Hosanna Tools CLI
Version: 0.6.0
Build Date: 2025-08-04T18:51:06.015Z
Commands:
hst <command> [options] Hosanna Tools CLI
Version: 0.6.0
Build Date: 2025-08-04T18:51:06.015Z [default]
hst generate Generate structs and command handler maps
hst clean Clean generated files
hst create-view Create a new view
hst prepare-gitignore Ensure .gitignore contains required entries
hst update Update the SDK by cloning the repository, checking
out the branch or tag, and setting up symlinks
hst install Install the SDK by creating hosanna.json and
setting up the environment
hst create-template-app Create a new template app with the Hosanna SDK
Options:
--version Show version number [boolean]
--help View help information about this tool. [boolean]
Common Tasks
-
Create a new project: Use
hst create-template-appto scaffold a new Hosanna project with the SDK. -
Install or update the SDK: Use
hst installto set up the SDK and environment, orhst updateto update the SDK to a specific branch or tag. -
Generate structs: Use
hst generateto generate structs and command handler maps, which are essential for Hosanna apps. -
Clean generated files: Use
hst cleanto remove generated files from your project. -
Create a new view: Use
hst create-viewto scaffold a new view in your project. -
Prepare .gitignore: Use
hst prepare-gitignoreto ensure your.gitignorefile contains all required entries.
For more information about each command, run hst --help.