Repository: shuttle-hq/synth (language: rust)

Issue:
refactor: Remove `init` command
The deprecated `init` command was recently removed from all documentation (#273). Once it is deemed safe, the command should also be removed from the `cli` mod.


Discussion / hints:

Fix patch:
diff --git a/synth/src/cli/mod.rs b/synth/src/cli/mod.rs
index 2c3fe39b..04067893 100644
--- a/synth/src/cli/mod.rs
+++ b/synth/src/cli/mod.rs
@@ -82,7 +82,6 @@ impl<'w> Cli {
 
     pub async fn run<W: Write + 'w>(&self, args: Args, writer: W) -> Result<()> {
         match args {
-            Args::Init { .. } => Ok(()),
             Args::Generate(cmd) => self.generate(cmd, writer),
             Args::Import(cmd) => self.import(cmd),
             #[cfg(feature = "telemetry")]
@@ -229,11 +228,6 @@ impl<'w> Cli {
     no_version,
     global_settings = &[AppSettings::DisableVersion])]
 pub enum Args {
-    #[structopt(about = "(DEPRECATED). For backward compatibility and is a no-op.")]
-    Init {
-        #[serde(skip)]
-        init_path: Option<PathBuf>,
-    },
     #[structopt(about = "Generate data from a namespace", alias = "gen")]
     Generate(GenerateCommand),
     #[structopt(about = "Import data from an external source")]


Test patch: