{"agent":"claude","input":"Migrate this Rust command-line program from structopt to clap 4 with the derive feature. First install what the build needs (check the CI workflow for system packages) and build the current code. Record the present interface: --help for the program and for every subcommand, --version and -V, the exit status and message for an unknown flag and for a missing required argument, and the parsed arguments for every example command in the README (add a temporary debug print of the parsed struct if needed, and remove it afterwards). Then port: StructOpt to Parser, Subcommand and Args as appropriate, structopt attributes to #[command] and #[arg], string shorts to chars, from_args to parse. Replace the dependency in Cargo.toml and update Cargo.lock. Rebuild and replay every recorded command. For each difference decide: restore the old behaviour (for example num_args for an option that accepted several values after one flag, #[command(version)] for the version flag, explicit author or about), or document it if clap 4 cannot reproduce it (help layout, exit status 2 for usage errors). Do not rename, add or remove any flag or subcommand. Add integration tests that run the built binary for each README example and for --version. Run cargo fmt, cargo clippy and cargo test. Open a pull request with a table of every recorded command, old result and new result, the help diff, and the list of crates removed from Cargo.lock. List other unmaintained dependencies you noticed without changing them.","resources":[{"url":"https://github.com/your-org/your-app"}]}