Mercurial > piecrust2
comparison piecrust/commands/base.py @ 466:456db44dcc53
bake: Pass the config variants and values from the CLI to the baker.
TODO: add support for that for the processor pipeline.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 11 Jul 2015 23:51:02 -0700 |
parents | c2ca72fb7f0b |
children | 3ceeca7bb71c |
comparison
equal
deleted
inserted
replaced
465:b6e797463798 | 466:456db44dcc53 |
---|---|
10 class CommandContext(object): | 10 class CommandContext(object): |
11 def __init__(self, app, parser, args): | 11 def __init__(self, app, parser, args): |
12 self.app = app | 12 self.app = app |
13 self.parser = parser | 13 self.parser = parser |
14 self.args = args | 14 self.args = args |
15 self.config_variant = None | |
16 self.config_values = None | |
15 | 17 |
16 | 18 |
17 class ChefCommand(object): | 19 class ChefCommand(object): |
18 def __init__(self): | 20 def __init__(self): |
19 self.name = '__unknown__' | 21 self.name = '__unknown__' |