release: version 2.0.0

This commit is contained in:
Adrien Waksberg 2020-12-23 14:13:36 +01:00
parent 5455569895
commit 302ac2abe2
2 changed files with 18 additions and 59 deletions

View file

@ -7,6 +7,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
## Unreleased ## Unreleased
## v2.0.0 - 2020-12-23
### Changed ### Changed
- New interface - New interface

View file

@ -1,6 +1,6 @@
# gpm: Go Passwords Manager # gpm: Go Passwords Manager
[![Version](https://img.shields.io/badge/latest_version-1.2.1-green.svg)](https://git.yaegashi.fr/nishiki/gpm/releases) [![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://git.yaegashi.fr/nishiki/gpm/releases)
[![Build Status](https://travis-ci.org/nishiki/gpm.svg?branch=master)](https://travis-ci.org/nishiki/gpm) [![Build Status](https://travis-ci.org/nishiki/gpm.svg?branch=master)](https://travis-ci.org/nishiki/gpm)
[![GoReport](https://goreportcard.com/badge/git.yaegashi.fr/nishiki/gpm)](https://goreportcard.com/report/git.yaegashi.fr/nishiki/gpm) [![GoReport](https://goreportcard.com/badge/git.yaegashi.fr/nishiki/gpm)](https://goreportcard.com/report/git.yaegashi.fr/nishiki/gpm)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/gpm/src/branch/master/LICENSE) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/gpm/src/branch/master/LICENSE)
@ -26,76 +26,33 @@ go get git.yaegashi.fr/nishiki/gpm/cmd/gpm
## How to use ## How to use
### First steps ### First launch
- Add new entry `gpm -add` - Run `gpm`
- Enter the passphrase to encrypt your new wallet
```text - Press `n` to create your first entry and follow the instructions
Enter the passphrase to unlock the wallet:
Enter the name: Test
Enter the group: MyGroup
Enter the URI: http://localhost
Enter the username: lastname
Enter the new password:
Enter the OTP key:
Enter a comment: My first entry
the entry has been added
```
- Search and copy `gpm -copy`
```text
Enter the passphrase to unlock the wallet:
MyGroup
| NAME | URI | USER | OTP | COMMENT
----+------+------------------+----------+-----+-----------------
0 | Test | http://localhost | lastname | X | My first entry
select one action: p
select one action: l
select one action: q
```
### All options ### All options
```text ```text
gpm -help
-add
add a new entry in the wallet
-config string -config string
specify the config file specify the config file
-copy
enter an copy mode for an entry
-delete
delete an entry
-digit -digit
use digit to generate a random password use digit to generate a random password
-export -export string
export a wallet in json format json file path to export a wallet
-group string
search the entries in this group
-help -help
print this help message print this help message
-import string -import string
import entries from a json file json file path to import entries
-length int -length int
specify the password length (default 16) specify the password length (default 16)
-letter -letter
use letter to generate a random password use letter to generate a random password
-list
list the entries in a wallet
-password -password
generate and print a random password generate and print a random password
-pattern string
search the entries with this pattern
-random
generate a random password for a new entry or an update
-special -special
use special chars to generate a random password use special chars to generate a random password
-update
update an entry
-wallet string -wallet string
specify the wallet specify the wallet
``` ```