Skip to content

Releases: devjoaoGustavo/tb

v0.3.0

Choose a tag to compare

@devjoaoGustavo devjoaoGustavo released this 12 Mar 01:37

What's New

Multi-language invoice support 🌐

Invoices can now be rendered in 5 locales: en, es, it, pt-BR, pt. All HTML labels, status badges, footer messages, and date/money formatting are localized.

  • Set your locale in config.json via the locale field (defaults to pt-BR)
  • Locale-aware money formatting: R$ 5.700,00 for pt-BR vs $ 5,700.00 for en
  • Locale-aware date formatting per language convention

Beautiful TUI output 🎨

All CLI commands now feature styled terminal output powered by lipgloss:

  • Bordered tables with accent-colored headers for all list commands
  • Colored status badges: ● Draft (gray), ● Sent (amber), ● Paid (green)
  • Success indicators: ✓ for completions, ▶ for timer start, ■ for timer stop
  • Styled dashboard with section headers and keyword highlighting

Full Changelog

See CHANGELOG.md

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 06 Mar 00:56
183ee86

Added

  • Simple dashboard with active job and other useful information

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 06 Mar 00:29
435d194

Added

  • tb init — interactive first-time setup for issuer info and invoice defaults
  • tb client add/list/delete — client management with interactive prompts and --force delete
  • tb project add/list/delete — project management with hourly and fixed billing types
  • tb start/stop/switch/now/cancel — timer tracking with optional backdating (--at)
  • tb log — manual session entry by duration
  • tb report — hours and earnings grouped by project, filterable by week/month/date range
  • tb invoice create/preview/list/show/open — invoice generation with HTML rendering
  • tb invoice mark-sent/mark-paid/delete — invoice lifecycle management
  • tb invoice delete now requires --force for sent/paid invoices and unmarks sessions on deletion so they can be re-invoiced
  • tb export — session export to CSV or JSON
  • tb config show/edit — config inspection and editing
  • Shell completion for project IDs, client IDs, and invoice numbers (bash and zsh)
  • Per-client invoice number sequences stored in SQLite
  • Cross-platform HTML invoice rendering with embedded CSS (print-ready A4)
  • Local SQLite storage via modernc.org/sqlite (no CGO required)