aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.rs17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index e7a11a9..b7fbd08 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,18 @@
fn main() {
- println!("Hello, world!");
+// if alias not new
+// do nothing
+// if alias is new
+// if real_alias is in alias file
+// if email address is in alias file
+// do nothing
+//
+// find all instances of real_alias
+// get instance with greatest id number
+//
+// change real_alias to "#{real_alias}-#{id + 1}"
+//
+// if only one instance
+// append "-2" to real_alias
+//
+// add alias to alias file
}