Skip to content
Permalink
Browse files

server: add inplace rendering and log filtering

Signed-off-by: Florian Scherf <f.scherf@pengutronix.de>
  • Loading branch information...
fscherf committed Jul 31, 2019
1 parent d3b3329 commit ab11f3dfc9e1352b3e50b2e3908b205cd964ab0f
@@ -1,4 +1,4 @@
recursive-include flamingo/server *
recursive-include flamingo/server/static *
recursive-include flamingo/theme *
recursive-include flamingo/plugins/*/theme *
recursive-include flamingo/project_templates *
@@ -7,14 +7,13 @@ import os
from flamingo.core.utils.cli import gen_default_parser, parse_args

TYPES = (list, tuple, int, float, str, bool, )
parser = gen_default_parser(prog='flamingo args')

parser = gen_default_parser(
prog='flamingo args',
args, settings = parse_args(
parser,
setup_logging='FLAMINGO_ARGS_DISABLE_LOGGING_SETUP' not in os.environ,
)

args, settings = parse_args(parser)

print(json.dumps({
'args': vars(args),
'settings': {

0 comments on commit ab11f3d

Please sign in to comment.
You can’t perform that action at this time.