Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.08 KB

OpenC

OpenC is a CLI tool to create, open and remove projects in Visual Studio Code.

Features

  • Recursive listing
  • Recursive directory creation
  • Specify location to create project
  • Create these projects
    • Vite
    • Next.js
    • Node.js

Installation

npm install -g @rasteli/openc

Usage

$ openc

How it works

OpenC will search recursively for specific files or folders in the default directory ~/www to determine if it or any of its children is a root directory. A root directory, i.e. a project, is a directory that contains any file or folder whose name includes any of these: "index", "main", "src", "config", "package", called root conditions. As of now, there's no way to change the default directory or the root conditions unless you edit the source code. If you're willing to do so, you can change the former here and the latter here.