1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2025-05-03 21:07:07 +01:00

Move commands to Verb hierarchy

Move flat command functions (BUILD, ANALYZE, etc.) to a shallow Verb
hierarchy. Allow command verbs to inherit common functionality and prep
for better debugging/logging as well as test mocks.
This commit is contained in:
hacksalot
2016-01-09 06:44:22 -05:00
parent 47e8605f50
commit 88c71f6e9c
7 changed files with 90 additions and 14 deletions

28
src/core/verb.js Normal file
View File

@ -0,0 +1,28 @@
/**
Definition of the Verb class.
@module verb.js
@license MIT. See LICENSE.md for details.
*/
(function(){
// Use J. Resig's nifty class implementation
var Class = require( '../utils/class' );
/**
An instantiation of a HackMyResume command.
@class Verb
*/
var Verb = module.exports = Class.extend({
});
}());