Skip to content

[FR] CLI options #232

Done
Done

Description

@samuelhaeussler1

Some options for cli use would be great:

--version (to use for automated updates)
--config (read from config file instead of multiple env variables)

Activity

  1. added
    enhancement
    on Mar 1, 2026
  2. 0x2E commented on Nov 24, 2026

    @0x2E
    Owner

    Thanks for the suggestions!

    --version is added in #295. fusion -v / fusion --version prints only the version (e.g. v1.3.3) to stdout and exits 0, so an update script can compare it directly with the latest release tag. It works without any FUSION_* variables set, and the version is also logged on startup. It will ship in the next release.

    --config: we're not planning to add this. Every common way to run Fusion can already load variables from a file, so a second config source would mainly add precedence rules and double maintenance for every option. Use the .env.example as a template:

    • Docker: docker run --env-file fusion.env ...
    • Compose: env_file: fusion.env
    • systemd: EnvironmentFile=/etc/fusion/fusion.env
    • Shell: set -a; . ./fusion.env; set +a; ./fusion

    I'll close this issue when #295 is merged. Feel free to reopen if env files don't work for your setup.

  3. added a commit that references this issue on Nov 25, 2026
    c0919d1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions