From 302ac2abe2f423229244c539ea3d845f259e056e Mon Sep 17 00:00:00 2001 From: Adrien Waksberg Date: Wed, 23 Dec 2020 14:13:36 +0100 Subject: [PATCH] release: version 2.0.0 --- CHANGELOG.md | 2 ++ README.md | 75 +++++++++++----------------------------------------- 2 files changed, 18 insertions(+), 59 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59f1d59..614955d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) ## Unreleased +## v2.0.0 - 2020-12-23 + ### Changed - New interface diff --git a/README.md b/README.md index ba49924..237627b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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) [![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) @@ -26,78 +26,35 @@ go get git.yaegashi.fr/nishiki/gpm/cmd/gpm ## How to use -### First steps +### First launch -- Add new entry `gpm -add` - -```text -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 -``` +- Run `gpm` +- Enter the passphrase to encrypt your new wallet +- Press `n` to create your first entry and follow the instructions ### All options ```text -gpm -help - -add - add a new entry in the wallet -config string - specify the config file - -copy - enter an copy mode for an entry - -delete - delete an entry + specify the config file -digit - use digit to generate a random password - -export - export a wallet in json format - -group string - search the entries in this group + use digit to generate a random password + -export string + json file path to export a wallet -help - print this help message + print this help message -import string - import entries from a json file + json file path to import entries -length int - specify the password length (default 16) + specify the password length (default 16) -letter - use letter to generate a random password - -list - list the entries in a wallet + use letter to generate a random password -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 + generate and print a random password -special - use special chars to generate a random password - -update - update an entry + use special chars to generate a random password -wallet string - specify the wallet + specify the wallet ``` ## License