All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added 'logger' functions for the following commands:
add
;archive
;backup
;complete
;list
;progress
;remove
;update
;
- Decoupled validation and logic in the following commands:
add
;archive
;backup
;complete
;list
;progress
;remove
;update
;
- Updated
add
command to set 'createdAt' and 'updatedAt' properties. - Updated
complete
command to set 'updatedAt' property. - Updated
update
command to set 'updatedAt' property. - Updated return values for the following commands:
backup
;update
;
- Added support for
tags
data point on goal records.gl add "Do the needful" --tags foo,bar,baz
- Added support for filtering goals by tag.
gl list --tags foo
- Updated CLI to display success message.
- Fixed issue where 'progress' command could not display 'archive' goals.
- Fixed issue where attempting to display non-existent goal data as a bar chart would throw an error.
- Added
generateId()
method toutils
. - Added
build
topackage.json
.
- Improved
README.md
. - Increased test coverage for 'add' command.
- Updated
add
command to support 'category' property. - Updated
list
command to support filtering goals by 'category'.
- Removed
TODO.md
.
- Added support for setting 'complete' state of archived goals (eg.
gl complete {{ ID }} --archive
).
- Added
backup
subcommand. - Added support for
remove {{ ID }} --archive
(eg. remove goal directly from 'archive' log file). - Added support for 'silent' and 'verbose' modes (eg.
Debugger
configuration). - Added support for
Utils
configuration viaGoalist
constructor. - Added
Subcommands
section toREADME.md
. - Added
tslint.json
. - Added the follow development dependencies:
tslint
;gulp-tslint
;tslint-eslint-rules
.
- Updated
Goalist
class definition: removedCOMMAND
,INPUT
, andARGS
parameters; replaced withoptions
object; - Updated 'import' usage: Goalist now runs in 'silent' mode by default.
- Updated CLI entryoint logic: remove call to
#preflight()
method; simplify Promise chain; ensure thatCOMMAND
is captured as a string. - Updated
#run()
instance method: validate arguments; set default values; ensure that files/folder exist or are created at invocation time. - Updated
add
command: now returns individualgoal
object; now rejects with an error. - Updated
archive
command: now rejects with an error. - Updated
complete
command: now returns individualgoal
object; now rejects with an error. - Updated
progress
command: now returns a 'progress data' object; only displays bar chart when running in non-silent CLI mode. - Updated
remove
command: now rejects with an error. - Updated
update
command: now returns individualgoal
object; now rejects with an error. - Updated
Goalist
tests. - Updated Gulp file: added typescript linting tasks.
- Updated
README.md
file: added documentation for non-CLI usage.
- Fixed typos and incorrect documentation in
README.md
- Removed
#preflight()
instance method.
- Added
chalk
to deps. - Added support for
list --all
(display all goal properties). - Added support for
list --show
(replaceslist --only
).
- Updated
list
command documentation. - Removed support for
list --only
.
- Added 'keywords' field to
package.json
.
- Remove 'version' from 'help' menu.
- Updated
README.md
. - Removed
version
command.
- Updated input signature of
Goalist
constructor: from( [ COMMAND, ARGS ] )
; to( [ COMMAND, INPUT, ARGS ] )
. - Updated input signature of command functions: from
( ARGS, utils )
; to( INPUT, ARGS, utils )
. - Replaced
minimist
withmeow
. - Removed
minimist
from deps.
- Added tests for 'Goalist'.
- Fixed issue where 'main' field in
package.json
file pointed to CLI script.
- Transpiled TypeScript.
- Added support for 'help' menu (accessed via
--help
). - Added
meow
to development dependencies.
- Updated 'update' command to display output when 1+ properties are successfully updated.
- Updated shape of 'goal' data: changed 'status' to 'complete'.
- Updated
Utils
module: added new helper methods; built out tests. - Updated
README.md
.
- Added
archive
subcommand.
- Updated shape of 'goal' data: added
active
property. - Updated structure/contents of
logs/
directory: replaced 'daily' log files with 'active'/'archive' logs. - Updated
list
subcommand: added support for--archvive
flag; removed feature whereIdentifier
key/value is always logged out. - Updated
Utils
module: removed old/unused methods; refactored existing methods. - Updated
README.md
. - Removed old/unused tests.
- Fixed incorrect output path in
gulpfile.js
: changed from./lib
to./dist
. - Updated
TODO.md
.
- Adding the following dependencies:
merge
; - Added the following development dependencies:
gulp
;gulp-typescript
;typescript
;@types/node
;@types/object-assign
.
- Converted package internals to
TypeScript
(src/
). - Renamed
lib/
todist/
.
- Bumped Bar Horizontal module to 0.4.0.
- Built out remaining tests for
Utils
module. - Completed first pass of
Debugger
module.
- Converted 'utils' and 'goalist' methods into
Utils
/Goalist
classes. - Moved setup logic into 'Goalist' module.
- Updated 'command' scripts to receive
Utils
module instance at invocation time. - Completed misc. updates to program initialization logic (ie.
/index.js
).
- Added ava testing framework to project. Test suite can be run by invoking
npm run test
ornpm run test:verbose
. - Started implementing tests for
utils
module. - New log files now include any 'incomplete' goals present within the most recent log.
- Updated program to read/write logs from/to
.goalist/logs/
. Previously, each log had a corresponding directory (eh..goalist/2017-01-01/goatlist_2017-01-01.log
, etc.). - Various refactoring: removed
getYesterday*()
methods; addedreadLog()
, etc.
- Added
complete
subcommand. - Added single character aliases for each existing subcommand.
- Updated
add
subcommand: display message on success.
- Added
remove
subcommand.
- Updated
list
subcommand to accept--only
flag/argument. SeeREADME
file for usage details.
- Added
progress
subcommand. - Added
getYesterday*()
methods toutils
module.
- Updated program to merge 'incomplete' tasks from previous day into new log file.
- Updated
add
subcommand to validate presence oftitle
. - Updated
update
subcommand to valid arguments, log errors. - Updated
utils
methods to print errors if log files cannot be read.
- Completed first pass of
goalist
program. Added support for the following commands:add
;list
;update
. - Added
README.md
,CHANGELOG.md
, andTODO.md
files.