/dachshund

Convert file/directory names from underscores to dashes and vice versa. :dog2:

Primary LanguageJavaScriptISC LicenseISC

Dachshund

npm version Build Status

Convert the underscores in a file/directory name to dashes or convert the dashes to underscores.

Usage

npm install -g dachshund

Installing dachshund globally adds two commands udash and dunder to your PATH.

Convert underscores to dashes:

udash file_name
#=> file_name => file-name

Convert dashes to underscores:

dunder file_name
#=> file-name => file_name