Update readme

This commit is contained in:
Nikola Petrov 2024-07-22 16:12:04 +02:00
parent b08c1651e6
commit 375bd753e9
2 changed files with 25 additions and 7 deletions

View File

@ -12,26 +12,44 @@ password_manager.exe [flags]
Flags: Flags:
-h print this message -h print this message
<label> get password of this label can use GLOB <label> get password for this label can use GLOB
-g <label> generate password of this label (or update if exists) -g <label> generate password for this label (or update if exists)
-i <label> input new password for this label (or update if exists) -i <label> input new password for this label (or update if exists)
-d <label> delete password of this label -d <label> delete password for this label
-s <label> show password for this label -s <label> show password for this label
-u <label> update username for this label -u <label> update username for this label
-n <label> update label name -n <label> update label name
-e <label> open editor, password as note
-l list all labels -l list all labels
-p print all passwords -p print all passwords
-c change master password -c change master password
-z print size of file
-f <folder path> select save folder -f <folder path> select save folder
``` ```
# Versions: # Versions:
- V6 - Add flag -e open any password in text editor
- V5 - Add support for linux - V5 - Add support for linux
- V4 - Add select save folder - V4 - Add select save folder
- V3 - Add username to LoginInfo - V3 - Add username to LoginInfo
- V2 - Remove string size limit - V2 - Remove string size limit
- V1 - Working with string size limit of 20 characters - V1 - Working with string size limit of 20 characters
## Requirements # How to build
```sh
// linux
g++ build.cpp -o build
./build
./build clear build opt
// windows
zig c++ build.cpp -o build
./build
./build clear build opt
```
# Requirements
### For linux ### For linux
sudo apt install xclip sudo apt install xclip
### For windows
winget install -e --id zig.zig

View File

@ -21,10 +21,10 @@ void print_args()
printf(" password_manager.exe [flags]\n\n"); printf(" password_manager.exe [flags]\n\n");
printf(" Flags:\n\n"); printf(" Flags:\n\n");
printf(" -h print this message\n"); printf(" -h print this message\n");
printf(" <label> get password of this label can use GLOB\n"); printf(" <label> get password for this label can use GLOB\n");
printf(" -g <label> generate password of this label (or update if exists)\n"); printf(" -g <label> generate password for this label (or update if exists)\n");
printf(" -i <label> input new password for this label (or update if exists)\n"); printf(" -i <label> input new password for this label (or update if exists)\n");
printf(" -d <label> delete password of this label\n"); printf(" -d <label> delete password for this label\n");
printf(" -s <label> show password for this label\n"); printf(" -s <label> show password for this label\n");
printf(" -u <label> update username for this label\n"); printf(" -u <label> update username for this label\n");
printf(" -n <label> update label name\n"); printf(" -n <label> update label name\n");