diff --git a/cli/main.rs b/cli/main.rs index 4f8de1ab..c9ea81e2 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -38,7 +38,7 @@ const VERSION: &str = "0.7.0"; #[command(styles = get_styles(), version(VERSION))] struct Command { /// The runtime to use. Must be a url. - #[arg(long, default_value_t = Url::parse("https://raw.githubusercontent.com/radical-ui/svelte-toolbox/blob/{VERSION}/runtime/mod.tsx").unwrap())] + #[arg(long, default_value_t = Url::parse(&format!("https://raw.githubusercontent.com/radical-ui/svelte-toolbox/blob/{VERSION}/runtime/mod.tsx")).unwrap())] runtime: Url, /// The platform to build for. Defaults to `web`.