Skip to content

Commit

Permalink
remove --assign option from build command
Browse files Browse the repository at this point in the history
  • Loading branch information
o-smirnov committed Jan 30, 2024
1 parent 4460519 commit a34a683
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions stimela/commands/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,13 @@
help="""explicitly skips steps wth the given tags.
Use commas, or give multiple times for multiple tags.""")
@click.option("-e", "--enable-step", "enable_steps", metavar="STEP(s)", multiple=True,
help="""Force-enable steps even if the recipe marks them as skipped. Use commas, or give multiple times
help="""Build image for step(s) even if the recipe marks them as skipped. Use commas, or give multiple times
for multiple steps.""")
@click.option("-a", "--assign", metavar="PARAM VALUE", nargs=2, multiple=True,
help="""assigns values to parameters: equivalent to PARAM=VALUE, but plays nicer with the shell's
tab completion.""")
@click.option("-l", "--last-recipe", is_flag=True,
help="""if multiple recipes are defined, selects the last one for building.""")
@click.argument("what", metavar="filename.yml|cab name")
def build(what: str, last_recipe: bool = False, rebuild: bool = False, all_steps: bool=False,
assign: List[Tuple[str, str]] = [],
step_ranges: List[str] = [], tags: List[str] = [], skip_tags: List[str] = [], enable_steps: List[str] = []):
return run.callback(what, last_recipe=last_recipe, assign=assign, step_ranges=step_ranges,
return run.callback(what, last_recipe=last_recipe, step_ranges=step_ranges,
tags=tags, skip_tags=skip_tags, enable_steps=enable_steps,
build=True, rebuild=rebuild, build_skips=all_steps)

0 comments on commit a34a683

Please sign in to comment.