Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@onlabsorg/stilo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
stilo
This is a command line tool for managing olojs documents. Out of the box it allows creating new document packages, rendering documents, serving documents over HTTP and it can be extended via plugins.
If you are not yet familiar with olojs documents, you can get started with this introduction.
Getting started
Install stilo globally.
npm install @onlabsorg/stilo -gInitialize a new repository:
cd /path/to/my-repo
stilo initRender a document contained in my-library:
stilo render /path/to/docYour local olojs documents are text files with
.oloextension, but you must omit the extension when specifying a document path.
Serve the library over http:
stilo run http-serverOnce the HTTP server is running, your document source will be accessible at the
URL http:/loclahost:8010/path/to/doc.
Plugins
Plugins are npm packages that can expand the stilo store and/or add custom sub-commands to the stilo CLI.
In order to install a plugin, you use the stilo install command, followed
by the name of the npm package that contains the plugin.
stilo install <plugin-name>In order to uninstall a plugin, you use the stilo uninstall command, followed
by the name of the npm package that contains the plugin.
If you are a developer and you want to create your own plugins or modify you
.stilopackage, read the package documentation.
Documentation
- stilo init command
- stilo install command
- stilo read command
- stilo render command
- stilo uninstall command
- stilo run command
- stilo run http-server
- Default .stilo npm package
License
This software is released under the ISC license.