@barnii77/cobular-cli
v0.1.9
Published
CLI for Cobular projects.
Downloads
1,188
Readme
Cobular CLI
Scaffold Cobular projects and generate component/service templates.
Install
- npm install -g @barnii77/cobular-cli
Usage
- cobular init my-app
- cobular generate component hello-world --lang cob+ts
- cobular generate service data-store --lang cob+js
- cobular install cobweb
- cobular dockerize
Local dev
- node cli/bin/cobular-cli.mjs
Runtime embedding
- The CLI bundles the Cobular runtime.
npm run buildregenerates it vianpm run build.
Cobweb install
cobular install cobwebinstalls the patched Cobweb fork globally.- Override the tarball URL with
--from. - Use
--pathto pick an install directory and--forceto overwrite or skip dependency checks. - The install downloads source and builds locally (requires emcc/emconfigure, make, autoconf/automake, libtool, bison, flex, help2man, gcc/g++).
