Closed scarf005 closed 10 months ago
currently many features are packed into lume/mod.ts.
lume/mod.ts
getOptionsFromCli
lume
it may be beneficial to extract these features into separate files. for example, it would make creating an lightweight lume function without pre-defined modules (url, json, vento, etc...) with Cli support easier.
I guess getOptionsFromCli() can be moved to core/utils/ folder. What do you think? Do you want to work on a PR?
getOptionsFromCli()
core/utils/
yes, i'll open a PR.
Enter your suggestions in details:
currently many features are packed into
lume/mod.ts
.getOptionsFromCli
is private.lume
uses predefined plugins.it may be beneficial to extract these features into separate files. for example, it would make creating an lightweight lume function without pre-defined modules (url, json, vento, etc...) with Cli support easier.