openframeworks / openframeworks/projectGenerator

command line tool should detect OF folder

Open
#116 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.