-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI Spec Proposal #30
base: master
Are you sure you want to change the base?
Conversation
|
||
This is the spec for the minimum CLI options that nucleus implementations should expose. | ||
|
||
Implementations may also expose platform, vm, and other sspecialty options not found in the other implementations in addition to these. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/sspeciality/speciality/
or perhaps "special"
1c1bad5
to
b99f845
Compare
Love the PR! Interesting addition with the To me it's something else entirely, but I have the unique advantage of working with the same model with luvi and luvit for over a year in production. To me nucleus shouldn't ever replace node in the sense that people deploy scripts loose on a file system and then just use a nucleus implementation to run them. This will cause strong forces for scope creep in this project to support such use cases instead of delegating that to a node-like project that is built on top of nucleus. That would undo the entire purpose of this micro-kernel like design. FS bundles should only be used for development convenience where the build step creating the zip and appending it is optional. But as I have discovered painfully in production with luvit, the fs bundle needs to act exactly the same as the final bundle when it is zipped. Tests are a special case and I'm fine with supporting them, but I don't want to break the self-contained bundle model. In luvit world, the lit package manager supports a "files" directive in The only technical problem I see with the CLI is a way to specify a custom main with a custom root. In the test case, we would want to run "foo/tests/run-all.js" or "foo/tests/some-test.js" with "foo" being the root of the bundle and not "foo/tests" as it currently done automatically in seaduk when you specify a file for the bundle. We could have it look for a parent folder containing "main.js" and assume that's the root. We would probably still want an optional CLI option to specify the root manually as well. So how about instead of the |
No description provided.