UNPKG

starforged-cli

Version:

My goal is for this to be an easy-to-use CLI for playing Starforged solo. If your game ends up in a broken state of some sort, and no command yet exists to fix your issue, all of the game data you accumulate is stored in `~/starforged-cli/db.json` and you

18 lines (13 loc) 431 B
const { marked } = require("marked"); const TerminalRenderer = require("marked-terminal"); const chalk = require("chalk"); const { chooseAsset } = require("../userPrompts"); const { printAsset } = require("../utils"); marked.setOptions({ renderer: new TerminalRenderer({ strong: chalk.green.bold }), }); async function readAsset() { const asset = await chooseAsset(); printAsset(asset); } module.exports = { readAsset };