Skip to content
Snippets Groups Projects
Commit aebff219 authored by Martin Blanchard's avatar Martin Blanchard
Browse files

cmd_server.py: Ensure configuration file exists

parent 31ff0157
No related branches found
No related tags found
Loading
......@@ -38,7 +38,7 @@ def cli(context):
@cli.command('start', short_help="Setup a new server instance.")
@click.argument('CONFIG',
type=click.Path(file_okay=True, dir_okay=False, writable=False))
type=click.Path(file_okay=True, dir_okay=False, exists=True, writable=False))
@click.option('-v', '--verbose', count=True,
help='Increase log verbosity level.')
@pass_context
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment