HostFn

CLI Reference

Complete reference for all HostFn CLI commands.

HostFn provides a comprehensive CLI for managing application deployments. All commands are available after installing the hostfn package globally.

npm install -g hostfn

Commands Overview

CommandDescription
hostfn initInitialize HostFn configuration in current project
hostfn deployDeploy application to server
hostfn exposeConfigure Nginx and SSL for deployed services
hostfn statusShow application status
hostfn logsView application logs
hostfn rollbackRollback to previous deployment
hostfn envManage environment variables
hostfn serverServer management commands

Global Options

hostfn --version    # Show version number
hostfn --help       # Show help
hostfn <cmd> --help # Show help for a specific command