Skip to main content
Module

x/cliffy/examples/table/header_and_body.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
File
#!/usr/bin/env -S deno run
import { Table } from "../../table/table.ts";
new Table() .header(["Name", "Date", "City", "Country"]) .body([ ["Baxter Herman", "Oct 1, 2020", "Harderwijk", "Slovenia"], ["Jescie Wolfe", "Dec 4, 2020", "Alto Hospicio", "Japan"], ["Allegra Cleveland", "Apr 16, 2020", "Avernas-le-Bauduin", "Samoa"], ["Aretha Gamble", "Feb 22, 2021", "Honolulu", "Georgia"], ]) .render();