Skip to content

Renames echomail area rules (prepared for FastEcho) using HPT filename format.

License

Notifications You must be signed in to change notification settings

Mithgol/rules-fe2hpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(a histogram of downloads)

This package (rules-fe2hpt) is a CLI tool that renames echomail area rules (prepared for FastEcho) so that they adhere to the HPT area rules filename format.

It requires Node.js to run and npm to be installed.

This package is currently in an early phase of its development and thus does not have the desired level of feature completeness.

Installing rules-fe2hpt

(npm package version)

Installing as a global application

  • Latest packaged version: npm install -g rules-fe2hpt

  • Latest githubbed version: npm install -g https://github.com/Mithgol/rules-fe2hpt/tarball/master

The application becomes installed globally and appears in the PATH. Then use rules-fe2hpt command to run the application.

Installing as a portable application

Instead of the above, download the ZIP-packed source code of the application and unpack it to some directory. Then run npm install --production in that directory.

You may now move that directory (for example, on a flash drive) across systems as long as they have the required version of Node.js installed.

Unlike the above (npm -g), the application does not appear in the PATH, and thus you'll have to run it directly from the application's directory. You'll also have to run node rules-fe2hpt [parameters] instead of rules-fe2hpt [parameters].

Running rules-fe2hpt

Run rules-fe2hpt in the directory that contains FastEcho-prepared rules; they'll be renamed using HPT-compliant format.

You may add the parameter --rus for rules-fe2hpt to display Russian messages instead of English.

You may add the parameter --log=logFilename if you need a permanent copy of the application's messages stored in the designated file.

Testing rules-fe2hpt

(build testing status)

It is necessary to install JSHint for testing.

  • You may install JSHint globally (npm install jshint -g) or locally (npm install jshint in the directory of rules-fe2hpt).

After that you may run npm test (in the directory of rules-fe2hpt). Only the JS code errors are caught; the code's behaviour is not tested.

License

MIT license (see the LICENSE file).

About

Renames echomail area rules (prepared for FastEcho) using HPT filename format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published