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:
1 parent
220d041975
commit
01ebdf710e
4 files changed
+1458
-30
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user