Release v0.1.2: embedded stdlib, docs, and extension branch policy.
Embed lib/*.mq.md in binary; marqdo version --check; public writeback/subtask pages; restore /vscode-extension/ ignore. VSIX built from branch vscode-extension only (see doc/design/vscode-extension-commit.md). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3da7b276d3
commit
2e65c055b8
23 files changed
+469
-53
No files matched your search
+13
@@ -115,6 +115,11 @@ enum Commands {
|
||||
#[command(subcommand)]
|
||||
action: ExtAction,
|
||||
},
|
||||
/// Print version; `--check` compares with the latest GitHub release
|
||||
Version {
|
||||
#[arg(long)]
|
||||
check: bool,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Subcommand, Debug)]
|
||||
@@ -262,5 +267,13 @@ fn try_main() -> Result<i32> {
|
||||
}
|
||||
Ok(0)
|
||||
}
|
||||
Commands::Version { check } => {
|
||||
if check {
|
||||
marqdo::version_check::check_latest().map_err(|e| anyhow::anyhow!(e))?;
|
||||
} else {
|
||||
marqdo::version_check::print_version();
|
||||
}
|
||||
Ok(0)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user