Update USAGE.md to reflect interactive input file prompt
This commit is contained in:
13
USAGE.md
13
USAGE.md
@@ -37,15 +37,22 @@ Once the setup is complete, you can run the converter script.
|
||||
|
||||
### Basic Usage
|
||||
|
||||
The script takes an input video file and an optional output directory.
|
||||
The script takes an input video file and an optional output directory. If the input file is not provided via the command line, the script will prompt you to enter it.
|
||||
|
||||
```bash
|
||||
python -m src.main <path_to_your_input_video_file> [-o <path_to_output_directory>]
|
||||
python -m src.main [path_to_your_input_video_file] [-o <path_to_output_directory>]
|
||||
```
|
||||
|
||||
* Replace `<path_to_your_input_video_file>` with the absolute or relative path to the video file you want to convert.
|
||||
* Replace `[path_to_your_input_video_file]` with the absolute or relative path to the video file you want to convert. This argument is now optional.
|
||||
* Replace `<path_to_output_directory>` with the desired directory for the converted file. If omitted, the converted file will be saved in the same directory as the input file.
|
||||
|
||||
**Example (Interactive Input):**
|
||||
|
||||
```bash
|
||||
python -m src.main
|
||||
# Script will then prompt: Please enter the path to the input video file:
|
||||
```
|
||||
|
||||
**Example:**
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user