init subcommand (#1840)

* `init` subcommand

* clippy
This commit is contained in:
hem1t authored and GitHub committed 2024-01-16 10:25:07 -06:00
1 parent 1db8bd7edd
commit c6e1b0f728
4 files changed
+88 -41

No files matched your search

+4
View File
@@ -52,6 +52,10 @@ async fn main() -> anyhow::Result<()> {
.create()
.map_err(|e| anyhow!("🚫 Creating new project failed: {}", e)),
Init(opts) => opts
.init()
.map_err(|e| anyhow!("🚫 Initialising a new project failed: {}", e)),
Config(opts) => opts
.config()
.map_err(|e| anyhow!("🚫 Configuring new project failed: {}", e)),