Add placeholder --run-server support.

This allows the program to run as a web server,
which will eventually be able to return
mushroom models.
This commit is contained in:
dongar committed 2024-06-27 10:42:55 -05:00
1 parent 220d041975
commit 01ebdf710e
4 files changed
+1458 -30

No files matched your search

+4
View File
@@ -8,6 +8,10 @@ pub struct Args {
#[arg(long, default_value = "mesh.stl")]
pub output: String,
/// Shape of the cap.
#[arg(long, default_value_t = false)]
pub run_server: bool,
/// Height of total mushroom in millimeters.
#[arg(long, default_value_t = 100)]
pub height: u32,