Skip to content

Commit 289fc02

Browse files
committed
fix: gen bug
1 parent 5b01e58 commit 289fc02

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pychassiscli"
3-
version = "0.3.6"
3+
version = "0.3.7"
44
description = "A lightweight Python distributed microservice command line tool"
55
authors = [
66
{ name = "BryantHe", email = "[email protected]" },

src/pychassiscli/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def gen(directory, _type, nameko_module, class_name_str):
6969
# TODO input 让用户在命令行输入
7070
pass
7171
generate_metric_config(nameko_module, class_name_str)
72+
return
7273

7374
if _type == 'unit_test':
7475
if not os.access(directory, os.F_OK) or not os.listdir(directory):

0 commit comments

Comments
 (0)