Skip to content

Commit b921ecf

Browse files
authored
fix: delete duplicated codes from cli.py (#118)
1 parent d3f2c49 commit b921ecf

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

cbsurge/cli.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,12 @@
33
from cbsurge.admin import admin
44
from cbsurge.initialize import init
55
from cbsurge.exposure.builtenv import builtenv
6-
import click
7-
8-
@click.group
9-
def cli(ctx):
10-
"""Main CLI for the application."""
11-
pass
12-
cli.add_command(admin)
13-
cli.add_command(builtenv)
14-
156
from cbsurge.exposure.population import population
167
from cbsurge.stats import stats
8+
import click
179

1810

1911
@click.group
20-
2112
def cli():
2213
"""Main CLI for the application."""
2314
pass
@@ -29,7 +20,6 @@ def cli():
2920
cli.add_command(stats)
3021

3122

32-
3323
if __name__ == '__main__':
3424

3525
logger = setup_logger('rapida', make_root=True)

0 commit comments

Comments
 (0)