@@ -53,6 +53,9 @@ def _setup_create_command(subparsers):
5353 create_parser .add_argument (
5454 "--description" , "-D" , default = "" , help = "Package description"
5555 )
56+ create_parser .add_argument (
57+ "--dry-run" , action = "store_true" , help = "Preview changes without execution"
58+ )
5659
5760
5861def _setup_validate_command (subparsers ):
@@ -120,6 +123,9 @@ def _setup_env_commands(subparsers):
120123 "use" , help = "Set the current environment"
121124 )
122125 env_use_parser .add_argument ("name" , help = "Environment name" )
126+ env_use_parser .add_argument (
127+ "--dry-run" , action = "store_true" , help = "Preview changes without execution"
128+ )
123129
124130 # Show current environment command
125131 env_subparsers .add_parser ("current" , help = "Show the current environment" )
@@ -192,6 +198,9 @@ def _setup_env_commands(subparsers):
192198 default = None ,
193199 help = "Git tag/branch reference for wrapper installation (e.g., 'dev', 'v0.1.0')" ,
194200 )
201+ hatch_mcp_parser .add_argument (
202+ "--dry-run" , action = "store_true" , help = "Preview changes without execution"
203+ )
195204
196205 # Remove Python environment
197206 python_remove_parser = env_python_subparsers .add_parser (
@@ -266,6 +275,9 @@ def _setup_package_commands(subparsers):
266275 "--host" ,
267276 help = "Comma-separated list of MCP host platforms to configure (e.g., claude-desktop,cursor)" ,
268277 )
278+ pkg_add_parser .add_argument (
279+ "--dry-run" , action = "store_true" , help = "Preview changes without execution"
280+ )
269281
270282 # Remove package command
271283 pkg_remove_parser = pkg_subparsers .add_parser (
0 commit comments