Description:
This pull request integrates argument parsing into the G-code processing script, making it more user-friendly and adaptable for automation. It adds support for a mandatory file path as a positional argument and an optional --skip-input flag for non-interactive environments.
Key Changes:
Positional Argument: Users must specify the G-code file path directly when executing the script.
Optional Flag: The --skip-input flag allows users to bypass manual input prompts.
Help Output: Enhanced help documentation is available to assist with new command-line options.
No Arguments Provided: If the script is run without any arguments, it will display an error message and the usage information to help guide the user on how to properly execute the script.
Description: This pull request integrates argument parsing into the G-code processing script, making it more user-friendly and adaptable for automation. It adds support for a mandatory file path as a positional argument and an optional --skip-input flag for non-interactive environments.
Key Changes: Positional Argument: Users must specify the G-code file path directly when executing the script. Optional Flag: The --skip-input flag allows users to bypass manual input prompts. Help Output: Enhanced help documentation is available to assist with new command-line options.
Behavior: Running with Arguments: python prusa_slicer_post_processing_script.py /path/to/your/file.gcode Skipping Input Prompts: python prusa_slicer_post_processing_script.py /path/to/your/file.gcode --skip-input Accessing Help: python prusa_slicer_post_processing_script.py --help
No Arguments Provided: If the script is run without any arguments, it will display an error message and the usage information to help guide the user on how to properly execute the script.