Skip to content
Snippets Groups Projects
Commit 745445fc authored by Konstantin Baierer's avatar Konstantin Baierer
Browse files

cli: pass on compliant_cli

parent e5bb0cc6
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,8 @@ class CliCtx(): ...@@ -25,7 +25,8 @@ class CliCtx():
for repo_desc in self.config['repolist']: for repo_desc in self.config['repolist']:
url = repo_desc['url'] url = repo_desc['url']
official = repo_desc.get('official', False) official = repo_desc.get('official', False)
self.repos.append(Repo(self.config, url, official)) compliant_cli = repo_desc.get('compliant_cli', False)
self.repos.append(Repo(self.config, url, official, compliant_cli))
pass_ctx = click.make_pass_decorator(CliCtx) pass_ctx = click.make_pass_decorator(CliCtx)
@click.group() @click.group()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment