mirror of
https://github.com/eliasrenman/qr-cli.git
synced 2026-03-16 20:46:07 +01:00
feat: 1.0 release
This commit is contained in:
49
readme.md
Normal file
49
readme.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# QR Code CLI
|
||||
|
||||
A simple QR code generator for generating qr codes for urls.
|
||||
|
||||
## Prequsites
|
||||
|
||||
Note: On Linux, you may need to have xorg-dev and libxcb-composite0-dev to compile. On Debian and Ubuntu you can install them with
|
||||
|
||||
```Bash
|
||||
sudo apt install xorg-dev libxcb-composite0-dev
|
||||
```
|
||||
|
||||
## installing
|
||||
|
||||
Clone repository
|
||||
|
||||
```Bash
|
||||
git clone https://github.com/eliasrenman/qr-cli.git && cd qr-cli
|
||||
```
|
||||
|
||||
Build release
|
||||
|
||||
```Bash
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
Linking release with temporary solution of manually adding a alias to the shell for the binary output.
|
||||
|
||||
### Specific instructions for ZSH
|
||||
|
||||
```Bash
|
||||
echo "# QR Code CLI Link ">> ~/.zshrc &&
|
||||
echo alias qr-code=\"$(pwd)/target/release/qr-code\" >> ~/.zshrc &&
|
||||
source ~/.zshrc
|
||||
```
|
||||
|
||||
### Specific instructions for Bash
|
||||
|
||||
```Bash
|
||||
echo "# QR Code CLI Link ">> ~/.bashrc &&
|
||||
echo alias qr-code=\"$(pwd)/target/release/qr-code\" >> ~/.bashrc &&
|
||||
source ~/.bashrc
|
||||
```
|
||||
|
||||
Verify installation by running
|
||||
|
||||
```Bash
|
||||
qr-code
|
||||
```
|
||||
Reference in New Issue
Block a user