-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from zamm-dev/manual-specta-export
Manually trigger specta bindings export
- Loading branch information
Showing
6 changed files
with
280 additions
and
80 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
use clap::{Parser, Subcommand}; | ||
|
||
#[derive(Subcommand)] | ||
pub enum Commands { | ||
/// Run the GUI. This is the default command. | ||
Gui {}, | ||
/// Export Specta bindings for development purposes | ||
#[cfg(debug_assertions)] | ||
ExportBindings {}, | ||
} | ||
|
||
/// Zen and the Automation of Metaprogramming for the Masses | ||
/// | ||
/// This is an experimental tool meant for automating programming-related activities, | ||
/// although none have been implemented yet. Blog posts on progress can be found at | ||
/// https://zamm.dev/ | ||
#[derive(Parser)] | ||
#[command(name = "zamm")] | ||
#[command(version)] | ||
#[command(about = "Zen and the Automation of Metaprogramming for the Masses")] | ||
pub struct Cli { | ||
#[command(subcommand)] | ||
pub command: Option<Commands>, | ||
} |
Oops, something went wrong.