Skip to content
/ openc Public

CLI tool to create, open and remove projects in Visual Studio Code

License

Notifications You must be signed in to change notification settings

rasteli/openc

Repository files navigation

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.