aboutsummaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/tosin-admin.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/tosin-admin.rs b/src/bin/tosin-admin.rs
index 034e4a9..e108207 100644
--- a/src/bin/tosin-admin.rs
+++ b/src/bin/tosin-admin.rs
@@ -6,8 +6,12 @@ use std::process::Command;
use structopt::StructOpt;
-const TOSIN_DEPENDENCY: &str = concat!(r#"tosin = { path = ""#, env!("CARGO_MANIFEST_DIR"), r#"" }
-diesel = { version = "1.4.4", features = ["sqlite"] }"#);
+const TOSIN_DEPENDENCY: &str = concat!(
+ r#"tosin = { path = '"#,
+ env!("CARGO_MANIFEST_DIR"),
+ r#"' }
+diesel = { version = "1.4.4", features = ["sqlite"] }"#
+);
const PROJECT_MAIN: &str = r#"
#[macro_use] extern crate diesel;
@@ -79,14 +83,10 @@ todo!("write some views");
#[derive(StructOpt, Debug)]
enum Opt {
/// Start a new project/site (can contain multiple apps)
- StartProject {
- name: Option<String>,
- },
+ StartProject { name: Option<String> },
/// Start a new app
- StartApp {
- name: String,
- }
+ StartApp { name: String },
}
fn main() {