4545@click .group (context_settings = CONTEXT_SETTINGS , cls = StackCLI )
4646@click .option ("--log-file" , help = "Log to file (default stdout/stderr)" )
4747@click .option ("--debug" , help = "enable debug options" , is_flag = True , default = get_config_setting ("debug" , False ))
48- @click .option ("--stack" , help = "name or path of the stack" )
4948@click .option (
5049 "--profile" , help = "name of the configuration profile to use" , default = os .environ .get ("STACK_CONFIG_PROFILE" , "config" )
5150)
5453# TEL: Hide these for now, until we make sure they are consistently implemented.
5554@click .option ("--dry-run" , is_flag = True , default = False , hidden = True )
5655@click .pass_context
57- def cli (ctx , profile , quiet , verbose , log_file , dry_run , debug , stack ):
56+ def cli (ctx , profile , quiet , verbose , log_file , dry_run , debug ):
5857 """BPI stack"""
5958
6059 if log_file :
@@ -68,7 +67,7 @@ def cli(ctx, profile, quiet, verbose, log_file, dry_run, debug, stack):
6867 elif quiet :
6968 log_level = LOG_LEVELS ["warn" ]
7069
71- command_options = CommandOptions (profile , stack , log_level , log_file , dry_run , debug , quiet )
70+ command_options = CommandOptions (profile , None , log_level , log_file , dry_run , debug , quiet )
7271 opts .o = command_options
7372 ctx .obj = command_options
7473
0 commit comments