The Dev
namespace provides commands for developing with Origami. These commands are generally used in the CLI or build scripts.
When working in the CLI, all Dev
commands are directly available as top-level globals to make them easier to type. Instead of having to type:
$ ori Dev.serve
you can invoke the serve command with
$ ori serve
Commands by name #
Identify broken internal links and references
Break into the JavaScript debugger, then return a
Return a tree of changes
Copy the source tree to the target
A tree of a site’s discoverable resources
Add debug features to the tree
Get help on builtin namespaces and commands
Log message to the console and return a
Start a web server for the tree
Dev.stdin
Returns the content of the standard input stream
Render a tree visually in SVG format
Return the version number of the Origami language
Reevaluate fn when tree changes