Commit Graph

33 Commits

Author SHA1 Message Date
Oleksandr Kozachuk 41a3248084 Fix tests. 2022-12-28 17:18:37 +01:00
Oleksandr Kozachuk 46fb2c6b40 Add leave command, to directly save the generated password and restructure the parser a bit. 2022-12-24 15:00:07 +01:00
Oleksandr Kozachuk 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). 2022-12-24 13:53:53 +01:00
Kiyomichi Kosaka e8345b374d Implement gen command, to generate samples. 2022-12-22 12:07:13 +00:00
Kiyomichi Kosaka de13dd6a7b Improve test cleanup by using scopeguard. 2022-12-21 14:00:01 +00:00
Kiyomichi Kosaka 35517b2849 Fix warnings output of pb command and add some more env vars tests. 2022-12-21 13:26:07 +00:00
Kiyomichi Kosaka 0e21e0c10d Fix compile warning. 2022-12-21 13:01:59 +00:00
Kiyomichi Kosaka c03d6ab560 Fix the warnings to output for the between passwords and write some tests for it, also write tests for some environment variables. 2022-12-21 12:59:57 +00:00
Oleksandr Kozachuk c43221c590 Optimized the storage, key is now String instead of Rc<String>, fixed some error output. 2022-12-20 22:06:46 +01:00
Oleksandr Kozachuk fbdfca1982 Create a new structure LKOut to manage output and error streams, output warning about not correct passwords after "pass" command. 2022-12-20 20:05:42 +01:00
Oleksandr Kozachuk 59d2b5a122 Fix environment varaible for the correct file. 2022-12-18 15:05:22 +01:00
Oleksandr Kozachuk cfe1e1b062 First version of the dump command. 2022-12-18 14:46:22 +01:00
Oleksandr Kozachuk 1234c79db1 Basic support of remembering correct passwords is implemented. 2022-12-17 21:29:59 +01:00
Oleksandr Kozachuk 573567928c Add command unpass to forget saved password for a specific name. 2022-12-17 20:13:02 +01:00
Oleksandr Kozachuk 5ef5ef20ec Allow set the path to history and init file with env variables: LESSKEY_HISTORY and LESSKEY_INIT. 2022-12-17 20:05:57 +01:00
Oleksandr Kozachuk e05d98b2ba Add source command and prepare to expand the file names in source command. 2022-12-17 15:58:41 +01:00
Oleksandr Kozachuk 9347bc3972 Implement possibility to copy output of commands to paste buffers. 2022-12-17 14:54:16 +01:00
Oleksandr Kozachuk 18faa1d766 Add support for an init file ~/.lesskeyrc 2022-12-15 19:02:05 +01:00
Oleksandr Kozachuk 843b843b5e Add notion of scripts and support for empty commands and comments. 2022-12-14 16:02:02 +01:00
Oleksandr Kozachuk 2a05254415 Allow to enter regular expression as argument to ls command, to get only matching passwords. 2022-12-14 15:12:36 +01:00
Oleksandr Kozachuk 85ac2a0420 Added enc and pass commands, change names of commands back to full. 2022-12-13 22:39:41 +01:00
Oleksandr Kozachuk a291aafcf9 Code reformat. 2022-12-12 13:28:06 +01:00
Oleksandr Kozachuk c8080b9856 Add Radix structure to convert number to any radix up to 36. 2022-12-11 16:21:17 +01:00
Oleksandr Kozachuk ad920e8f05 Add support for the camel case mode, instead of regular mode. 2022-12-11 15:20:52 +01:00
Oleksandr Kozachuk afec096ff2 Add remove command. 2022-12-04 01:14:18 +01:00
Kiyomichi Kosaka 66acff9884 Simplify the parser and define password types explicitly. 2022-12-03 22:57:28 +00:00
Kiyomichi Kosaka 47243330a9 Reformat code. 2022-12-03 20:37:41 +00:00
Kiyomichi Kosaka a10fdeb10e Move Password to password.rs file 2022-12-03 20:09:16 +00:00
Kiyomichi Kosaka dfcda98981 Implement a fix for password recursion 2022-12-03 19:55:50 +00:00
Kiyomichi Kosaka 50a3398ad9 Move LK structure into own file. 2022-12-03 11:43:48 +00:00
ok210 1718fb3bb1 Refactor password to string conversion to use ToString trait, add gitignore. 2022-11-27 18:38:26 +01:00
Kiyomichi Kosaka a909cac999 Split the code to separate modules and add the first tests for the reply module. 2022-11-27 15:01:26 +00:00
Kiyomichi Kosaka ccb0f86bbb Initial commit 2022-11-27 14:03:00 +00:00