Tabul - Data Info Command

Undraw Windows

About

data info is a command of the data module that lists the attributes of a resources in a form fashion.

To get the attributes in a tabular format, you can use the tabul data list command

Syntax

tabul data info --help
Tabul data info
===============

Print the attributes of one or more data resources (files, tables, ...) in a form fashion

Tip: To get the attributes in a list fashion, check the `list` command



Examples
--------

 1 - Show the information on all files in the current directory


    tabul data info *


 2 - Show the information on the `date` table of the `oracle` connection


    tabul data info date@oracle


 3 - Shows information on the tables that begins with `D` of the `sqlite` connection


    tabul data info D*@sqlite




Syntax
------


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


where:


  Arguments:

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


  Data Definition Options:

    -a,--attribute <value>                                  Set or add a data resource attribute


  Options:

    -ea,--excluded-attribute <value>                        Attribute name to be excluded (Mostly computational attributes such as digest, md5, count, size, ...)

    -t,--type <mediaType|mimeType|extensionFile>            The type of the resource


  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

where:




Related HowTo
Undraw Windows
How to read and write an Excel file?

This howto will demonstrate you how to read and write to an Excel resource. To following this howto, you should have followed the getting started guide to have knowledge of: Resource creation...
Undraw Windows
SQL - How to execute and shows the result of a SQL SELECT Query

This howto will show you to execute and shows the result of a SQL Select Query against the tpcds data
Undraw Windows
Tabul - How to execute and shows the result of a SQL Query

This howto will show you to execute and shows the result of a SQL Query against the tpcds data

Task Runner