Skip to content

v2.0.0 - CLI/TUI Separation

Latest

Choose a tag to compare

@tomkp tomkp released this 14 Jan 09:54
· 10 commits to main since this release
39ab578

Breaking Changes

  • CLI renamed: Binary changed from hetzner to hz
  • Non-interactive: All interactive prompts removed - specify options via flags
  • setup command removed: Use hz config set token <token> instead
  • Delete confirmations: Use --yes flag to skip confirmation in scripts

What's Changed

This release completes the separation of the CLI and TUI into distinct packages:

  • @tomkp/hetzner-cli (hz): Pure CLI for scripting and automation
  • @tomkp/hetzner-tui (hetzner): Interactive terminal UI (separate package)

Removed Dependencies

  • React, Ink, and all interactive UI libraries removed
  • Package is now lightweight with only 3 dependencies

Migration

# Old
hetzner servers list
hetzner servers create  # prompted for options

# New
hz servers list
hz servers create --name my-server --type cx22 --image ubuntu-24.04
hz servers delete my-server --yes  # skip confirmation

Configuration

hz config set token YOUR_API_TOKEN
hz config set dnsToken YOUR_DNS_TOKEN

Or use environment variables: HETZNER_TOKEN, HETZNER_DNS_TOKEN