How to use the cli-table.call function in cli-table

To help you get started, we’ve selected a few cli-table 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 ionic-team / ionic-cli / lib / ionic / table.js View on Github external
function Table(options) {
  if (!options) {
    options = {};
  }

  cliTable.call(this, _.extend({
    chars: {
      'top': '',
      'top-mid': '',
      'top-left': '',
      'top-right': '',
      'bottom': '',
      'bottom-mid': '',
      'bottom-left': '',
      'bottom-right': '',
      'left': ' ',
      'left-mid': '',
      'right': '',
      'right-mid': ''
    },
    style: {
      compact: true,

cli-table

Pretty unicode tables for the CLI

MIT
Latest version published 3 years ago

Package Health Score

76 / 100
Full package analysis