Tabul - Data List Command

Undraw Windows

About

data list is a command of the data module that lists the data resources and their attributes in a tabular format.

The data list is a super command that extends the shell ls command to support not only the listing of files but also of tables (and by extension all other data resources)

Syntax

The important notions for this command are:

tabul data list --help
Tabul data list
===============

Print a list of data resources (files, tables, ...)



Examples
--------

 1 - List all the current files


    tabul data list *


 2 - List all the tables of the current schema of the `sqlite` connection


    tabul data list *@sqlite


 3 - List all the tables that begins with `D` of the `sqlite` connection


    tabul data list D*@sqlite




Syntax
------


    tabul data list [options|flags] <data-selector...>


where:


  Arguments:

    <data-selector...>                                      One or more name data resource selectors (ie pattern[@connection])


  Data Definition Options:

    -a,--attribute <attributeName>                          Add one or more data resource attribute


  Selection Options:

    --strict-selection                                      If set the selection will return an error if no data resources have been selected

    -wd,--with-dependencies                                 If set, the dependencies will be also selected


  Global Options:

    -ah,--app-home <path>                                   The app home directory (default to the .tabul.yml file directory)

    -vf,--conf <path>                                       The path to a configuration file

    -ee,--exec-env <name>                                   The execution environment (prod or dev)

    -h,--help                                               Print this help

    -l,--log-level <error|warning|tip|info|fine>            Set the log level

    -ns,--not-strict                                        A minor error will not stop the process.

    -odu,--output-data-uri <outputDataUri>                  defines the output data uri for the feedback data (default: console)

    -oo,--output-operation <dataOperation>                  defines the data operations (replace, truncate) on an existing output resource before transfer.

    -oop,--output-transfer-operation <transferOperation>    defines the output transfer operation (insert, update, merge, copy). Default to `copy` for a file system and `insert` for a database.

    -pp,--passphrase <passphrase>                           A passphrase (master password) to decrypt the encrypted vault values (Env: TABUL_PASSPHRASE)

    --pipe-mode                                             Use pipe mode if you want to pipe the output in a shell. Pipe mode will not print the headers (ie column name) and will not make the control character visible

    -v,--version                                            Print version information




Related HowTo
Undraw Windows
Database HowTo - How to load JSON documents in a database

This howto will show you how to load json document (files) into your relational database.
Undraw Windows
How to create a SQL View with a SELECT query

This howto shows you how to create sql views with select query stored in SQL file We are going to use the tpcds query_11.sql to create this view. With the tabul create command, to create view...
Undraw Windows
How to execute a procedure in MySQL ?

This howto shows you how to create and execute a SQL Procedure in MySQL. This example has been taken from the official...
Undraw Windows
How to install the World MySQL Sample Schema

This howto will show you how to install the world sample schema of MySQL. The installation is done with the sql script world.sql This script is idempotent...
Undraw Windows
How to load and analyze YAML documents in a database?

This howto will show you how to load and analyze yaml document (files) into a relational database. sqlite howto databaserelational database At its core a YAML file is just a JSON file styled in...
Undraw Windows
HowTo - How to load XML files into a Postgres with Tabulify

This database howto will show you how to load Xml file and document into a database.
Undraw Windows
HowTo - How to load XML files into a database with Tabulify

This database howto will show you how to load Xml file and document into a database.
Undraw Windows
Learning Tabulify - Step 4 - How to select Data Resources

To select a data resources such as a file or a database table, Tabulify uses the concept of: and dependency (Do we select also the dependent data resources) This page goes through this concepts...
Undraw Windows
Learning Tabulify - Step 6 - How to transfer Data Resources

In Tabulify, when you want to manipulate data, it's called a transfer. You want to move data, you transfer You want to copy data, you transfer You want to insert data, you transfer You want to...
Undraw Windows
Postgres - How to list SQL Tables

This howto will show you how to list SQL Tables

Task Runner