prepare modules for the next days

This commit is contained in:
Leo Drachenfeuer 2022-12-05 16:11:08 +01:00
parent 038f6841b3
commit bcb48a67f6
Signed by: dragonleo
GPG key ID: A8338FC081137CF0
25 changed files with 179 additions and 3 deletions

View file

@ -31,4 +31,3 @@ pub fn subcmd_day001(file: &Option<PathBuf>, top: &i32, total: &bool) {
} }
} }
} }

View file

@ -1,5 +1,6 @@
use crate::cli::PathBuf; use crate::cli::PathBuf;
use crate::util::read_lines; use crate::util::read_lines;
#[derive(Debug)] #[derive(Debug)]
enum Shape { enum Shape {
Rock, Rock,

View file

@ -1,4 +1,4 @@
use crate::cli::PathBuf; use crate::cli::PathBuf;
pub fn subcmd_day003(file: &Option<PathBuf>, alt: &bool) { use crate::util::read_lines;
} }

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day004(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day005(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day006(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day007(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day008(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day009(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day010(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day011(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day012(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day013(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day014(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day015(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day016(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day017(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day018(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day019(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day020(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day021(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day022(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day023(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day024(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}

View file

@ -0,0 +1,8 @@
use crate::cli::PathBuf;
use crate::util::read_lines;
pub fn subcmd_day025(file: &Option<PathBuf>, alt: &bool) {
if let Ok(lines) = read_lines(file.as_ref().unwrap().as_path()) {
}
}