Skip to content

The packaged app has no CLI, but the docs imply one #56

Description

@Phantom-VK

Problem

pyproject.toml defines a norefund console script that analyses a file and prints a report. PyInstaller freezes desktop/app.py instead, so the downloadable build ignores every argument and just opens a window. The CLI exists only for people who install from source.

Where

  • pyproject.toml:61 -> norefund = "norefund.main:main"
  • packaging/norefund.spec:75 -> Analysis([SRC / "desktop" / "app.py"])

Decision needed

Either:

  1. Point the spec at main.py so the shipped binary supports both modes (GUI by default, CLI with arguments)
  2. Document the CLI as source-install only and remove it from the public packaging assumption

Right now it is ambiguous, which is the actual problem.

Activity

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

    area:packagingBuilds, installers, PyInstaller, releasesbugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions