The order of directory checking is listed here: https://cli.sasjs.io/artefacts/#sas-macros
currently after adding a new macro to core, running npm i @sasjs/core in the project repo does NOT make it available to sasjs c (even though it appears in node_modules/@sasjs/core)
Only after adding the core macro the CLI build (ie, releasing a new version of the CLI and upgrading locally) can I access the new core macro
(the workaround would be to add it to the project macro directory, which does work, but ultimately results in 2 copies of the macro)
The order of directory checking is listed here: https://cli.sasjs.io/artefacts/#sas-macros
currently after adding a new macro to core, running
npm i @sasjs/corein the project repo does NOT make it available tosasjs c(even though it appears innode_modules/@sasjs/core)Only after adding the core macro the CLI build (ie, releasing a new version of the CLI and upgrading locally) can I access the new core macro
(the workaround would be to add it to the project macro directory, which does work, but ultimately results in 2 copies of the macro)