aboutsummaryrefslogtreecommitdiffstats
path: root/generator/csv/csv.py
diff options
context:
space:
mode:
Diffstat (limited to 'generator/csv/csv.py')
-rwxr-xr-xgenerator/csv/csv.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/generator/csv/csv.py b/generator/csv/csv.py
deleted file mode 100755
index 3636997..0000000
--- a/generator/csv/csv.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env python3
-# Copyright (c) Pelagicore AB 2016
-
-import click
-from qface.generator import FileSystem, Generator
-
-
-def generate(input, output):
- system = FileSystem.parse_dir(input)
- generator = Generator(searchpath='templates')
- ctx = {'output': output, 'system': system}
- generator.write('{{output}}/modules.csv', 'modules.csv', ctx)
-
-
-@click.command()
-@click.option('--input', type=click.Path(exists=True))
-@click.option('--output', type=click.Path(exists=True))
-def runner(input, output):
- generate(input, output)
-
-if __name__ == '__main__':
- runner()