rocinantealpha

Tools

Everything is done with one program, roci. Run it with no name to see this list in the terminal.

Working on a sketch

CommandWhat it does
roci run [file]opens the sketch in a window and reloads it each time you save. With --frames N it runs without a window, and --screenshot out.png saves the picture.
roci checkreads a sketch and says every mistake in plain words, without a window.
roci fmtwrites a sketch in the house style.
roci manshows how a word is written.
roci testruns the checks you wrote and compares the sketch’s picture with the one you kept.

Folders and libraries

CommandWhat it does
roci new namemakes a sketch folder, with git set up when git is installed.
roci initthe same inside a folder you already have, without changing anything in it.
roci add filecopies a file into the right place in the sketch’s assets/ folder.
roci get addresscopies a library from a git address into libs/.
roci update [name]fetches newer copies of those libraries and shows what changed.

Getting started shows the first of these in use, and sketch folders and libraries the rest.

Coming

roci package will turn a sketch into an app for each platform, and roci doctor will say what a computer is missing to do it. They are not in the alpha.

edit this page on GitHub