Skip to content
This repository was archived by the owner on May 19, 2021. It is now read-only.

Support relative paths from command line #52

Merged
merged 1 commit into from
Mar 29, 2018
Merged

Support relative paths from command line #52

merged 1 commit into from
Mar 29, 2018

Conversation

villetuh
Copy link

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 is 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/35046453

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/35046453
@unitycoder
Copy link
Owner

nice thanks! will be merging these later this week

@unitycoder unitycoder merged commit cd598e9 into unitycoder:master Mar 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
2 participants