Skip to content

Commit

Permalink
chore: remove unused enum FrontendTemplate (#1573)
Browse files Browse the repository at this point in the history
* chore: remove unused `enum FrontendTemplate`

It was marked as `pub` so the checker didn't tell us it was unused.

But it's not used anywhere else in the codebase.

---------

Co-authored-by: Willem Wyndham <[email protected]>
  • Loading branch information
chadoh and willemneal authored Aug 30, 2024
1 parent 34e8a5d commit b4f9378
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/soroban-cli/src/commands/contract/init.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use clap::{
builder::{PossibleValue, PossibleValuesParser, ValueParser},
Parser, ValueEnum,
Parser,
};
use gix::{clone, create, open, progress, remote};
use rust_embed::RustEmbed;
Expand All @@ -26,12 +26,6 @@ const GITHUB_URL: &str = "https://github.com";
const WITH_EXAMPLE_LONG_HELP_TEXT: &str =
"An optional flag to specify Soroban example contracts to include. A hello-world contract will be included by default.";

#[derive(Clone, Debug, ValueEnum, PartialEq)]
pub enum FrontendTemplate {
Astro,
None,
}

#[derive(Parser, Debug, Clone)]
#[group(skip)]
pub struct Cmd {
Expand Down

0 comments on commit b4f9378

Please sign in to comment.