Skip to content

Commit

Permalink
gg
Browse files Browse the repository at this point in the history
  • Loading branch information
orbyfied committed Feb 14, 2023
1 parent 44958a5 commit 12b8d50
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ def new_module_wiz(root_project_dir, name):

# split
splitCmd = cmd.split(" ")
if splitCmd[0] == ''
match splitCmd[0]:
case 'hasPaper', 'p':
print("new-module: hasPaper set")
props.has_paper = True
case 'version', 'v':
print("new-module: version = " + splitCmd[1])
props.version = splitCmd[1]

# create subdirectory
module_dir = os.path.join(root_project_dir, name)
Expand Down

0 comments on commit 12b8d50

Please sign in to comment.