-
Notifications
You must be signed in to change notification settings - Fork 10
Refactoring scratch pad
-
package (Module dependency) diagram for autolabcli application.
-
The view part right now is
console.log. This is deeply embedded in the application. We need to consolidate the view part to one location so that multiple views can be supported from the same model-controller setup. -
The user interface libraries - chalk, color, console, figlet, inquirer, cli-table and spinner - are used for user interface. They are deeply embedded in all js files in lib/ directory.
-
What is the preferred way of specifying the module exports? Are we following the preferred way? In
lib/help.js, the crux of the work is done on the module.exports line. Is there a better way? -
Debug messages sent to log manager by Winston logger.
-
Lines 36-65 of index.js can be cleaned up using a <string,call-back-fn> map.
-
Configuration file to be maintained separately. Username and password can be part of the configuration file too. Default configuration file to exist for the installation. User defined parameters can override the values of the default configuration file.
- Autolabcli v1.0.0 Docs
- Submission Workflow
- Architecture
- Refactoring Advice
- Feature Development
- Autolabcli Tests
- Events Doc
- Sequence Diagrams
- Testing in Javascript
- Libraries
- Debug Techniques
- Arrow Functions
- Autolabcli v0.1.1 Docs
- References