Some lint goodness

This commit is contained in:
2022-10-03 19:37:18 -06:00
parent ce09fce83e
commit 1050e25607
7 changed files with 52 additions and 43 deletions
+6 -6
View File
@@ -16,18 +16,18 @@
# Deploys the system components using docker-compose
import os
import argparse
from decouple import config
from python_on_whales import DockerClient
import click
from .util import include_exclude_check
@click.command()
@click.option('--include', help="only start these components")
@click.option('--exclude', help="don\'t start these components")
@click.argument('command') # help: command: up|down|ps
@click.option("--include", help="only start these components")
@click.option("--exclude", help="don\'t start these components")
@click.option("--score", help="read list of components from file")
@click.argument('command') # help: command: up|down|ps
@click.pass_context
def command(ctx, include, exclude, command):
def command(ctx, include, exclude, score, command):
'''deploy a stack'''
# TODO: implement option exclusion and command value constraint lost with the move from argparse to click