Skip to content

Commit

Permalink
choose non vanilla framework for non hello world examples
Browse files Browse the repository at this point in the history
  • Loading branch information
c12i committed Apr 19, 2024
1 parent 08b0297 commit aa47171
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ use crate::scaffold::example::{choose_example, Example};
use crate::scaffold::link_type::scaffold_link_type;
use crate::scaffold::web_app::scaffold_web_app;
use crate::scaffold::web_app::uis::{
choose_ui_framework, guess_or_choose_framework, template_for_ui_framework, UiFramework,
choose_non_vanilla_ui_framework, choose_ui_framework, guess_or_choose_framework,
template_for_ui_framework, UiFramework,
};
use crate::scaffold::zome::utils::select_integrity_zomes;
use crate::scaffold::zome::{
Expand Down Expand Up @@ -248,7 +249,7 @@ impl HcScaffold {
HcScaffoldCommand::WebApp { .. } => choose_ui_framework()?,
HcScaffoldCommand::Example { ref example, .. } => match example {
Some(Example::HelloWorld) => UiFramework::Vanilla,
_ => choose_ui_framework()?,
_ => choose_non_vanilla_ui_framework()?,
},
_ => {
let file_tree = load_directory_into_memory(&current_dir)?;
Expand Down

0 comments on commit aa47171

Please sign in to comment.