How to use the @tryghost/pretty-cli.ui function in @tryghost/pretty-cli

To help you get started, we’ve selected a few @tryghost/pretty-cli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TryGhost / gscan / bin / cli.js View on Github external
#!/usr/bin/env node
const prettyCLI = require('@tryghost/pretty-cli');
const ui = require('@tryghost/pretty-cli').ui;
const _ = require('lodash');
const chalk = require('chalk');
const gscan = require('../lib');

const options = {
    format: 'cli'
};

let levels;

prettyCLI
    .configure({
        name: 'gscan'
    })
    .groupOrder([
        'Sources:',

@tryghost/pretty-cli

A mini-module to style a sywac instance in a standard way

MIT
Latest version published 9 days ago

Package Health Score

66 / 100
Full package analysis

Similar packages