mirror of
https://github.com/eRgo35/ah.git
synced 2026-02-04 05:16:09 +01:00
automatic version bump
This commit is contained in:
10
README.md
10
README.md
@@ -23,15 +23,25 @@ $ rustup default stable
|
||||
```
|
||||
|
||||
Clone this repo
|
||||
|
||||
```sh
|
||||
$ git clone https://github.com/eRgo35/ah
|
||||
```
|
||||
|
||||
Change directory
|
||||
|
||||
```sh
|
||||
$ cd ah
|
||||
```
|
||||
|
||||
```sh
|
||||
$ cargo aur
|
||||
```
|
||||
|
||||
```sh
|
||||
$ cd target/cargo-aur
|
||||
```
|
||||
|
||||
Install package
|
||||
|
||||
```sh
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
use clap::{Args, Parser, Subcommand};
|
||||
|
||||
const VERSION: Option<&str> = option_env!("CARGO_PKG_VERSION");
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(
|
||||
name = "ah",
|
||||
author = "Michał Czyż",
|
||||
version = "0.1.0",
|
||||
version = VERSION.unwrap_or("unknown"),
|
||||
about = "A declarative package manager for Arch Linux",
|
||||
long_about = "Arch Helper is a declarative package management tool for Arch Linux. It leverages paru or other package managers for seamless integration."
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user