Implement gen command, to generate samples.

This commit is contained in:
Kiyomichi Kosaka
2022-12-22 12:07:13 +00:00
parent b6c7b08320
commit e8345b374d
6 changed files with 72 additions and 6 deletions
+2 -1
View File
@@ -60,6 +60,7 @@ pub enum Command<'a> {
Mv(Name, Name),
Rm(Name),
Enc(Name),
Gen(u32, PasswordRef),
Pass(Name),
UnPass(Name),
Correct(Name),
@@ -74,7 +75,7 @@ pub enum Command<'a> {
Quit,
}
#[derive(PartialEq, Debug)]
#[derive(PartialEq, Debug, Clone)]
pub enum Mode {
Regular,
RegularUpcase,