This script facilitates the migration of YATM (Yet Another Test Manager) v1 requirements to YATM v2 format.
- Converts YATM v1 requirement files to YATM v2 format
- Supports custom output file naming and directory selection
- Provides options for overwriting existing files
Before using this migration script, ensure you have Rust installed on your system. If you haven't installed Rust yet, you can do so by running:
-
Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Install the migration script
cargo install --path src/migrate_v1_requirements
You can uninstall it with
cargo uninstall migrate_v1_requirements
. -
Run the migration script with the
--help
flag to see the available optionsmigrate_v1_requirements --help
From there, you can run the migration script on your requirements files.
If you want to run the migration script on all of the requirements files in a directory, you can use a for loop like this:
for file in path/to/requirements/dir/*; do
migrate_v1_requirements "$file" -o .
done