polyhorn_cli/commands/mod.rs
1//! Implementations for platform-independent Polyhorn-cli commands.
2
3mod init;
4mod run;
5mod test;
6
7pub use init::Init;
8pub use run::Run;
9pub use test::Test;
10
11use clap::Clap;
12
13/// Represents a choice between one of the supported platforms that Polyhorn
14/// apps can be built for.
15#[derive(Clap)]
16pub enum Platform {
17 /// Represents the iOS operating system that runs on iPhones, iPads etc.
18 IOS,
19
20 /// Represents the Android operating system that runs on most non-Apple
21 /// smartphones.
22 Android,
23}