def default(self, *args, **kwargs):
"""
select {name} infrastructure to run task(s) on
"""
if not console.confirm(
'Are you sure you want to select {name} '
'infrastructure to run task(s) on?'.format(
name=self.color(self.name),
),
default=False,
):
fab.abort('Aborted')
self.confirm(*args, **kwargs)
评论列表
文章目录