Skip to the content

Kyuubuキューブ

Turn CSS 3D cubes by touch, keys or notation, reproduce a scramble from a seed, and follow a solve one named step at a time.

Kyuubu (キューブ) is the Japanese spelling of cube. About the name

Contents

Reference · Cube engine and views

CliResulttype

What the command line came to: the exit code, and what goes to standard output and standard error.

Import it

import type { CliResult } from "@johnmorrisdotca/kyuubu";

Definition

type CliResult = {
    code: 0 | 1 | 2;
    out: string;
    err: string;
};

Members

NameTypeDescription
code0 | 1 | 2
outstring
errstring

Examples

import type { CliResult } from "@johnmorrisdotca/kyuubu";
import { runCli } from "@johnmorrisdotca/kyuubu";

const value: CliResult = runCli(["--help"]);
console.log(value.code);
0

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/kyuubu 1.14.1.