ros_remove 0.1.5

The Purpose of ros_remove is to provide the `cargo ros_remove` command to remove dependencies from `Cargo.toml` and the `package.xml`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Main entry point for the `cargo ros-remove` subcommand.
//!
//! This binary handles removing dependencies to both Cargo.toml and package.xml files
//! for ROS 2 packages written in Rust.
//!
use clap::ArgMatches;
use ros_remove::{env_to_matches, remove_dependency};
use std::{env, io::ErrorKind};

fn main() -> Result<(), ErrorKind> {
    let matches: ArgMatches = env_to_matches(env::args().collect::<Vec<String>>());
    remove_dependency(&matches)
}