Commit d1cbb2cd authored by Thomas Nadovich's avatar Thomas Nadovich 🌸
Browse files

added --version command; fixed .deb description

parent 086897fc
Pipeline #16845 passed with stages
in 2 minutes and 9 seconds
......@@ -11,6 +11,7 @@ from objdict_generate.util import *
from objdict_generate.datatypes import *
from objdict_generate.resources import get_resource, get_resource_string
from objdict_generate.version import __version__
from pykwalify.core import Core
from collections import OrderedDict
import yaml
......@@ -79,9 +80,11 @@ def generate_eds_section(objdict):
@click.command()
@click.pass_context
@click.version_option(__version__)
@click.option('--doc_dir', '-d', default=".", type=click.Path(exists=True), help="Output directory to put, .eds and .md files")
@click.option('--output_dir', '-o', default=".", type=click.Path(exists=True), help="Output directory to put, .h and .cpp files")
@click.option('--master_dir', '-m', default=None, type=click.Path(exists=True), help="Output directory to put, .h and .cpp files for the master generated files. Defaults to output dir")
@click.option('--master_dir', '-m', default=None, type=click.Path(exists=True), help="Output directory to put, .h and .cpp files for the master generated files. Defaults to output dir")
@click.argument('yaml_files', type=click.Path(exists=True), nargs=-1)
def cli(ctx, doc_dir, output_dir, master_dir, yaml_files):
"""
......
......@@ -9,4 +9,4 @@ Homepage: <insert the upstream URL, if relevant>
Package: ${NAME}
Architecture: amd64
Recommends: gdb-multiarch
Description: burt-util
Description: ${NAME}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment