We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 67fa0be + 126ec94 commit f62b5ecCopy full SHA for f62b5ec
freenit/__init__.py
@@ -1 +1 @@
1
-__version__ = "0.3.13"
+__version__ = "0.3.14"
freenit/cli.py
@@ -1,3 +1,4 @@
+import os
2
import pathlib
3
import subprocess
4
@@ -7,4 +8,7 @@
7
8
def main():
9
path = pathlib.Path(__file__).parent.resolve()
10
project_name = prompt("Name of the project: ")
- subprocess.run([f"{path}/../bin/freenit.sh", "project", project_name])
11
+ executable = f"{path}/../bin/freenit.sh"
12
+ if not os.path.exists(executable):
13
+ executable = f"{path}/bin/freenit.sh"
14
+ subprocess.run([executable, "project", project_name])
0 commit comments