This repository was archived by the owner on May 19, 2021. It is now read-only.
Commit d768e60
Ville Tuhkanen
Support relative paths from command line
Add support for providing product path argument as relative path. This
makes it easier to open projects from command line as user doesn't need
to provide full path to project directory. It also allows opening the
project from current directory by providing . as path argument.
Check for relative path was done with just checking if the path isn't a
rooted path. If more thorough checks are needed, this StackOverflow
thread has discussion on how the current check could be extended.
https://stackoverflow.com/questions/5565029/check-if-full-path-given/350464531 parent 3caec9d commit d768e60
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
0 commit comments