summary refs log tree commit diff stats
path: root/ganarchy.py
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2019-06-20 12:54:01 -0300
committerSoniEx2 <endermoneymod@gmail.com>2019-06-20 12:54:01 -0300
commit0e27c8baf4f99a8b0bdc52b0d03aba0e49ad95d0 (patch)
tree09bf7eacd69359bab297422d50e7ce4556263a19 /ganarchy.py
parent752f4d36ad2f020d5a7a0ab79f0bd4879be0b3a5 (diff)
Add project list output
Diffstat (limited to 'ganarchy.py')
-rwxr-xr-xganarchy.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ganarchy.py b/ganarchy.py
index 9278429..c2e59f2 100755
--- a/ganarchy.py
+++ b/ganarchy.py
@@ -547,6 +547,11 @@ def cron_target(project):
         template = env.get_template('index.toml')
         click.echo(template.render(config = conf))
         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
     os.makedirs(cache_home, exist_ok=True)
     # make sure it is a git repo