pub fn run(args: PackageCommand) -> Result<()>
Runs the package command.
Returns an error if the subcommand execution fails.