File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ class CLIPlugin(ConfigSection):
102102 assert profiles_dir .exists ()
103103
104104 runner = CliRunner ()
105- result = runner .invoke (tidy3d_cli , ["config- reset" , "--yes" ])
105+ result = runner .invoke (tidy3d_cli , ["config" , " reset" , "--yes" ])
106106 assert result .exit_code == 0 , result .output
107107
108108 config_text = _config_path (mock_config_dir ).read_text (encoding = "utf-8" )
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def config_reset(yes: bool, preserve_profiles: bool) -> None:
159159 click .echo ("Configuration reset to defaults." )
160160
161161
162- @click .command (name = "migrate" )
162+ @click .command ()
163163@click .option (
164164 "--overwrite" ,
165165 is_flag = True ,
@@ -206,12 +206,11 @@ def config_group():
206206 """Configuration utilities."""
207207
208208
209- config_group .add_command (config_migrate )
209+ config_group .add_command (config_migrate , name = "migrate" )
210210config_group .add_command (config_reset )
211211
212212tidy3d_cli .add_command (configure )
213213tidy3d_cli .add_command (migrate_command )
214214tidy3d_cli .add_command (convert )
215215tidy3d_cli .add_command (develop )
216216tidy3d_cli .add_command (config_group , name = "config" )
217- tidy3d_cli .add_command (config_reset , name = "config-reset" )
You can’t perform that action at this time.
0 commit comments