mirror of
https://github.com/fosskers/cargo-aur.git
synced 2026-03-09 15:22:24 -05:00
[PR #29] [CLOSED] Upgrade to clap for argument parsing #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosskers/cargo-aur/pull/29
Author: @nick42d
Created: 8/3/2024
Status: ❌ Closed
Base:
master← Head:master📝 Commits (1)
b69f813Upgrade to clap for argument parsing📊 Changes
2 files changed (+21 additions, -22 deletions)
View changed files
📝
Cargo.toml(+1 -1)📝
src/main.rs(+20 -21)📄 Description
As mentioned on #28, command line arguments could use an overhaul, so kicking it off with an upgrade to
clapsincegumdropseems to be no longer maintained.I set this up to break as little as possible existing behaviour, if we are willing to change the version flag to clap default
-Vfrom-vit removes the need to have a version arg also.Output of
cargo-aur --help- OldOutput of
cargo-aur --help- New🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.