- Move the TypeScript project under scripts/ (src, tsconfig, package.json, pnpm lockfile/workspace, canonical .gitignore); drop the npm package-lock - Add scripts/Taskfile.yml aggregator plus .scripts modules (loggers, base, cli) with build, run, and validate tasks - Move the six SKILL-*.md docs into references/ with kebab names and extract the connector-routing sections from SKILL.md into references/routing-best-practices.md (SKILL.md 666 -> ~310 lines) - Add license/metadata/compatibility frontmatter, an Available scripts section, and update all CLI paths in README and references skill-manager validate: 13/13 passed, 0 warnings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
623 B
Bash
22 lines
623 B
Bash
#!/bin/bash
|
|
# -------------------------------------------------------------------------------------
|
|
#
|
|
# TOBE ADDED - Licence & Copyright Disclaimer
|
|
#
|
|
# -------------------------------------------------------------------------------------
|
|
|
|
. ./.scripts/loggers/lib/-enable-trailing-new-line.sh
|
|
|
|
_loggers_error() {
|
|
_loggers_enableLoggerTrailingNewLine
|
|
if
|
|
[ "${LOGGER_IS_ENABLED_ERROR}" = true ]
|
|
then
|
|
local TMP_1ST_PARAM="${1}${LOCAL_STRING_070_SPACES}"
|
|
TMP_1ST_PARAM="${TMP_1ST_PARAM:0:70}"
|
|
local TMP_LINE="# ERROR # ${TMP_1ST_PARAM} # $2"
|
|
echo -e "\033[1;31m${TMP_LINE}\033[0m" >&2
|
|
fi
|
|
|
|
}
|