diff options
Diffstat (limited to 'pyenc/enc.py')
-rw-r--r-- | pyenc/enc.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/pyenc/enc.py b/pyenc/enc.py index e0f3f8d..8732af2 100644 --- a/pyenc/enc.py +++ b/pyenc/enc.py @@ -2,21 +2,9 @@ Command line entry point for Puppet External Node Classifier (enc). """ -import click import yaml -# from flask import current_app, g -# from flask.cli import with_appcontext, AppGroup -from flask.cli import AppGroup -# from .db import db from . import model - - -app_group = AppGroup('user', help="Testt") - -@app_group.command('enc') -@click.argument('fqdn') -# @with_appcontext def run_enc(fqdn): """ Run the puppet node classifier. @@ -34,7 +22,3 @@ def run_enc(fqdn): print(yaml.dump(out)) return 0 - -def init_app(app): - """Add puppet enc click to current flask app.""" - app.cli.add_command(app_group) |