UNPKG

hana-cli

Version:
78 lines (54 loc) 1.65 kB
# inspectLibrary > Command: `inspectLibrary` > Category: **Object Inspection** > Status: Production Ready ## Description Return metadata about a Library ## Syntax ```bash hana-cli inspectLibrary [schema] [library] [options] ``` ## Aliases - `il` - `library` - `insLib` - `inspectlibrary` ## Command Diagram ```mermaid graph TD Start([hana-cli inspectLibrary]) --> Inputs{Inputs} Inputs --> Schema[Schema<br/>default **CURRENT_SCHEMA**] Inputs --> Library[Library name] Inputs --> OutputType[Output<br/>tbl or sql] Schema --> Inspect[Read library metadata] Library --> Inspect OutputType --> Inspect Inspect --> Done([Command Complete]) style Start fill:#0092d1 style Done fill:#2ecc71 style Inputs fill:#f39c12 ``` ## Parameters ### Positional Arguments | Parameter | Type | Description | |---|---|---| | `schema` | string | Target schema (optional positional input). | | `library` | string | Library name (optional positional input). | ### Options | Option | Alias | Type | Default | Description | |---|---|---|---|---| | `--library` | `--lib` | string | - | Library name to inspect. | | `--schema` | `-s` | string | `**CURRENT_SCHEMA**` | Schema that contains the library. | | `--output` | `-o` | string | `tbl` | Output format. Choices: `tbl`, `sql`. | ## Examples ### Basic Usage ```bash hana-cli inspectLibrary --library myLib --schema MYSCHEMA ``` Inspect metadata for a specific library. ## Related Commands - [`libraries`](libraries.md) - [`inspectLibMember`](inspect-lib-member.md) ## See Also - [Category: Object Inspection](..) - [All Commands A-Z](../all-commands.md)