Skip to content

Prasmoid v0.1.0

Latest

Choose a tag to compare

@prassamin prassamin released this 01 Oct 17:38
· 3 commits to main since this release
8487817

Whats new

This release makes the CLI more mature and user friendly.

Changes

  • Commands with missing binary dependencies (e.g., qmlformat, curl) are now gracefully disabled and marked with an (disabled) tag in the help text.
  • Running a disabled command now prints a clear, user-friendly message explaining which dependency is missing.
  • The previous behavior of auto-installing dependencies has been removed to avoid crashes in different distributions. Similar to this issue
  • Added a new prasmoid fix command that runs a script to install all required dependencies for your distribution.
  • The setup command has been dropped in favor of the fix command.
  • The update checking mechanism has been completely rewritten to use SHA256 checksums for verification instead of version tags, ensuring notifications are always accurate.
  • The CLI's help message has been reorganized with a new "Maintenance Commands" group for better readability.
  • The main install and update shell scripts have been rewritten to be more robust, POSIX-compliant, and no longer depend on jq.

Build Variants

1. Standard CLI (CGO Enabled)

  • Build Type: Native
  • CGO: Enabled
  • Use Case: Recommended for most Linux distributions like Ubuntu, Fedora, Arch, Debian, etc.
  • Pros: Better integration with system libraries and potentially faster execution.
  • Note: Requires a working glibc setup and basic dev environment.

2. Portable CLI (CGO Disabled)

  • Build Type: Fully Static
  • CGO: Disabled
  • Use Case: Ideal for minimal environments such as NixOS, Alpine Linux, or containers without a C toolchain.
  • Pros: Higher portability, no system dependencies.
  • Note: Some system integrations may not work if CGO features are required.