Skip to main content
Module

x/cliffy/table/table.ts>TableSettings

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface TableSettings
import { type TableSettings } from "https://deno.land/x/cliffy@v1.0.0-rc.3/table/table.ts";

Table settings.

Properties

indent: number

Table indentation.

border: boolean

Enable/disable border on all cells.

minColWidth: number | Array<number>

Set min column width.

maxColWidth: number | Array<number>

Set max column width.

padding: number | Array<number>

Set cell padding.

chars: Border

Set table characters.

optional
align: Direction

Set cell content alignment.

columns: Array<Column>

Set column options.