2024-07-08
한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina
First published onEnaium's personal blog
OK, now that we have completed all the preparations, we can start writing the code to start the game.
First we need to add a few dependencies.
model = { path = "../model" }
parse = { path = "../parse" }
download = { path = "../download" }
clap = { version = "4.5" }
zip = "2.1"
clap
Used to parse command line arguments,zip
Used to decompress files.
First create acli
Functions are used to build our command line.
fn cli() -