Add project list output
This commit is contained in:
parent
752f4d36ad
commit
0e27c8baf4
|
@ -547,6 +547,11 @@ def cron_target(project):
|
||||||
template = env.get_template('index.toml')
|
template = env.get_template('index.toml')
|
||||||
click.echo(template.render(config = conf))
|
click.echo(template.render(config = conf))
|
||||||
return
|
return
|
||||||
|
if project == "project-list":
|
||||||
|
# could be done with a template but eh w/e, this is probably better
|
||||||
|
for project in conf.projects.keys():
|
||||||
|
click.echo(project)
|
||||||
|
return
|
||||||
# make sure the cache dir exists
|
# make sure the cache dir exists
|
||||||
os.makedirs(cache_home, exist_ok=True)
|
os.makedirs(cache_home, exist_ok=True)
|
||||||
# make sure it is a git repo
|
# make sure it is a git repo
|
||||||
|
|
Loading…
Reference in New Issue