1.0.0 • Published 8 years ago

awef v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

Awef

A quicker way to open projects in your editor of choice.

Usage

awef path

Awef defers to the operating system (using native tools like xdg-open and friends) for which editor to use, passing the argument in verbatim. The one scenario Awef treats differently is when a known project file exists in the provided directory. In this situation Awef will open that project file instead. If multiple project files exist, Awef will prompt the user to select one.

In other words:

  1. If path is a directory and a single project file (e.g. code.sublime-project) exists in that directory, that project file is opened.
  2. If path is a directory and multiple project files exist, then the user is prompted to choose one, and the chosen project file is opened.
  3. Otherwise—if path is either not a directory or there is no known project file—path is opened directly.