openframeworks / openframeworks/projectGenerator
command line tool should detect OF folder
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 90
- Forks
- 79
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 5
Description
if you are somewhere inside an OF install, it's easy to go down the path until you reach an OF_ROOT or the absolute root of the file system. if the first happens then we should use that as the default OF_ROOT.
That would simplify the command line call without having to define environment variables and is safe to assume that if one is inside an OF install running the command line tool that's the OF install they want to use.
We could also do the same for the path of the project, if the cwd is outside of any OF install but the path to the new project is inside then we could safely assume that's the OF install the user wants to use too
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the command-line handling for OF_ROOT and the new project path. Test invocation from inside an OF install, from the filesystem root, and from outside an install when the project path is inside one; done means the appropriate OF_ROOT is selected without an environment variable.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100