Releases
v1.2.0
1.2.0 (2024-07-22)
Features
add test for aliases commands (9da7a2b )
apis: add new kcs_func_lookup for lookup functions list and execute first valid function (2673b5c )
cmd: add example code for main hook (65f135c )
lib: add options config "minimal" for enabled only --help options (a5ab8ec )
loader: add --regex and --action-* for custom action based on second extension (1c59389 )
priv: enabled trust mode on development mode (08cac36 )
Improvements
lib: add new kcs_commands_alias on commands for alias current command to another (80685ad )
lib: support kc.tmpl template using kc-tpr parser (10a4f3b )
lib: update template prompt for trust and test mode (58f4023 )
log: kcs_log_printf will log to console same as printf with nicer format (e31cfbc )
log: move dev mode logs to use logger instead (2fb4777 )
priv: kcs_exit() will return input code as result on grateful exit (dd1714b )
test: add exitcode to compare on tests as well (4603c12 )
Bugfixes
core: _KCS_CMD_ARGS is missing when user didn't load options lib (6715e1e )
lib: loading config should warn if config not found (3a339e6 )
libs: options throw error when argument is optional and no value were send (afb18a5 )
loader: on ext action (--action-*) if action is missing, fallback to --action (c08d40c )
priv: script failed if KCS_DEV is enabled with KCS_TMPDIR (c7d70ec )
Miscellaneous
doc: add more docs (b537c53 )
doc: describe path variable available on script (bd80b5f )
doc: improve code docs (7ff5793 )
docs: update documents for libs (d422795 )
lib: add more debug log on template (7b0658a )
lib: clean up unused options (13aef47 )
move docs to correct readme (20e0b30 )
script: update setup.sh to use date as version on local development (f68d926 )
test: add more tests on command alias didn't resolve command correctly (1def019 )
test: add more tests on templates and update snapshots (c843092 )
test: add template duplication cases (6bc5450 )
test: add test on command alias to invalid command (38afaef )
test: move use-template snapshot to templates/default (187e389 )
test: the printf logs move from stdlog to stdout (76386ef )
test: update snapshots (b36962d )
test: update snapshots (4041b80 )
test: update snapshots (0a344fc )
update some documents for end-users (ff05e15 )
You can’t perform that action at this time.