Skip to content

parse command only displays "Usage" help on Windows despite correct flags #1

Description

@Gewessler

I am trying to parse my Apple Health export.xml file (size: 713 MB) into a CSV file on Windows, but the tool consistently returns the "Usage" help message instead of executing the parse command.

Steps to Reproduce:

Open CMD or PowerShell in the directory containing export.xml.

Run the following command: AppleHealth2GoogleFit parse -i export.xml -o my_data.csv

Also tried variants with equal signs and absolute paths: AppleHealth2GoogleFit parse --xml-file="C:\TEMP\export.xml" --out="C:\TEMP\my_data.csv" AppleHealth2GoogleFit parse --xml-file export.xml --out my_data.csv

Expected Behavior: The program should start parsing the XML file and generate a CSV output.

Actual Behavior: The program immediately prints the "Usage: AppleHealth2GoogleFit.exe parse" help text and exits without any error message or processing.

Environment:

OS: Windows 10/11

File Size: 713 MB

Image Image Image Image Image Image Image

Additional Context: I have verified that the file exists in the directory using dir. I attempted running the command in both the standard Command Prompt (CMD) and PowerShell with the same result. The tool only seems to react with an error if the file is missing, but once the path is correct, it just displays the help message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions