Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/uranusjr/open-project

Simple subl and code wrapper for project discovery
https://github.com/uranusjr/open-project

Last synced: about 1 month ago
JSON representation

Simple subl and code wrapper for project discovery

Awesome Lists containing this project

README

        

==========================================================
Wrap ``subl`` and ``code`` for project/workspace discovery
==========================================================

I grew tired typing ``subl --project path_to_project`` and
``code path_to_my.code-workspace``.

This automatically parse the passed argument (only one), aod do the following:

* If it is a directory…
* Find a project in it, and open it instead of the directory.
* Find a project in its *parent*, and open it instead of the directory.
* If a project is not found, open the directory.
* Otherwise, open it as a file.

``subl`` is found via ``mdfind``, and ``code`` via registry if they are not in
PATH.