d4eeea73d8
Improve readline history.
Oleksandr Kozachuk
2023-07-18 14:22:15 +02:00
b3260e04fb
Do not print error on adding, when exactly the same already exist, it ignores it then silently.
Oleksandr Kozachuk
2023-02-02 10:54:08 +01:00
122aeaf75b
Refactor read_password function to take just the name as argument, not the prompt.
Oleksandr Kozachuk
2023-01-07 13:40:00 +01:00
54c2c0e5a1
Store pass command without password to history.
Oleksandr Kozachuk
2023-01-07 13:18:39 +01:00
2b56aed28e
Refactor history handling: store only save and usefull commands, save them in LKEval state, do not safe pass command into history.
Oleksandr Kozachuk
2023-01-07 13:16:47 +01:00
4ee1d38be7
pass command accepts now optionally the password from command line, instead of stdin.
Oleksandr Kozachuk
2023-01-07 12:06:41 +01:00
44c6f371a8
Wrap lines in HTML.
Oleksandr Kozachuk
2023-01-06 17:31:57 +01:00
fd3914dacb
Renamed the dump command to save, added command dump to dump the db to stdout.
Oleksandr Kozachuk
2023-01-03 11:58:48 +01:00
1b96ca3239
Some WASM changes, not ready yet.
Oleksandr Kozachuk
2023-01-03 11:15:40 +01:00
69f65a5be0
Make helwasm compilable for wasm32-unknown-unknown target.
Oleksandr Kozachuk
2023-01-01 19:46:14 +01:00
7563645518
Fix tests, move rpassword usage to utils.rs to implement something different for wasm.
Oleksandr Kozachuk
2023-01-01 19:04:56 +01:00
eced302282
Split project into three workspaces: hel (the library), helcli (the tool) and helwasm (the wasm code). Move wasm incompatible code to extra modules in utils.rs to be implementable separately for wasm.
Oleksandr Kozachuk
2023-01-01 18:50:16 +01:00
cff9e3f90d
Make the height a bit better.
Oleksandr Kozachuk
2022-12-31 17:16:02 +01:00
d3f00e7268
Add first prototype index.html
Oleksandr Kozachuk
2022-12-31 17:08:32 +01:00
984a416ae7
Fix space recognicion, support all kinds of spaces.
Oleksandr Kozachuk
2022-12-28 19:34:24 +01:00
b89dd0936e
Expand the commands.
Oleksandr Kozachuk
2022-12-24 15:59:22 +01:00
46fb2c6b40
Add leave command, to directly save the generated password and restructure the parser a bit.
Oleksandr Kozachuk
2022-12-24 15:00:07 +01:00
a69fceb126
Add ld command, like ls but sort by date. Fix quit command in scripts, output passwords with spaces when no prefix given (align output by name, somewhat).
Oleksandr Kozachuk
2022-12-24 13:53:53 +01:00
f0ce3b4d96
Change password struct to use name as String instead of Rc<String>, fix gen command.
Oleksandr Kozachuk
2022-12-23 20:14:07 +01:00
13ea63d687
Fix gen command, but still has issues.
Oleksandr Kozachuk
2022-12-22 19:28:38 +01:00
3373f17332
Fix for gen command (not finished yet).
Kiyomichi Kosaka
2022-12-22 15:07:56 +00:00
03b2d43c6c
Fix generation of single random passwords.
Kiyomichi Kosaka
2022-12-22 12:10:13 +00:00
e8345b374d
Implement gen command, to generate samples.
Kiyomichi Kosaka
2022-12-22 12:07:13 +00:00
b6c7b08320
Move more command implementations from repl.rs to commands.rs.
Kiyomichi Kosaka
2022-12-21 14:32:54 +00:00
c03d6ab560
Fix the warnings to output for the between passwords and write some tests for it, also write tests for some environment variables.
Kiyomichi Kosaka
2022-12-21 12:59:57 +00:00
f67b64080c
Same cleanup after last change.
Oleksandr Kozachuk
2022-12-20 22:11:15 +01:00
c43221c590
Optimized the storage, key is now String instead of Rc<String>, fixed some error output.
Oleksandr Kozachuk
2022-12-20 22:06:46 +01:00
fbdfca1982
Create a new structure LKOut to manage output and error streams, output warning about not correct passwords after "pass" command.
Oleksandr Kozachuk
2022-12-20 20:05:42 +01:00
ae4e09b2b1
Rename the tool to hel.
Oleksandr Kozachuk
2022-12-20 19:50:06 +01:00
dbb00caca1
Improved dump output with command to be copieable by pb command.
Oleksandr Kozachuk
2022-12-18 15:16:37 +01:00