Commit 23feceff authored by Flavio TARSETTI's avatar Flavio TARSETTI

[scripts] updated command from server to serve in setup.py and server_cli.py

parent 7c74ff33
......@@ -101,12 +101,12 @@ def editor(ctx):
type=click.STRING)
@click.pass_context
@raise_on_error
def server(ctx, verbose, version, dev, debug, prefix, cache):
def serve(ctx, verbose, version, dev, debug, prefix, cache):
'''Run Flask server
To run the development server add option --dev
$ beat editor server --dev
$ beat editor serve --dev
'''
ctx.meta['verbose'] = verbose
......
......@@ -59,7 +59,7 @@ setup(
'editor = beat.editor.scripts.server_cli:editor',
],
'beat.editor.cli': [
'server = beat.editor.scripts.server_cli:server',
'serve = beat.editor.scripts.server_cli:serve',
],
},
......
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