On this page
LIB TREE
Core command
LI TR
LITR
Shows the folders and Scripts of the Scripts Library as a tree.
Syntax
LIB TREE [<folder>] [ALL]
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
<folder> | No | A folder of the Scripts Library, relative to its root | The whole library |
ALL | No | Every Script, whatever its Database Group and Environment | The Scripts of the current connection |
Examples
LIB TREE;
LIB TREE reports;
LIB TREE reports/finance ALL;
Details
What it shows
The folders of the Scripts Library as a tree: each folder with the number of Scripts it holds (subfolders included), then its subfolders and its Scripts. Each Script line gives its name and its description, shortened to the terminal width; a draft or deprecated Script is marked [draft] or [deprecated].
Which Scripts
The same Scripts as LIB LIST: those that apply to the current connection's Database Group and Environment, or every Script with ALL. A folder with no Script in that scope is not shown. Archived Scripts never are.
<folder>shows only that folder, a path relative to the library root (reports/finance).- Folders come first, then Scripts, each sorted alphabetically ignoring case, as in the BroadSQL Editor.
The tree is drawn with plain spaces, so it reads the same in every console and theme.
Related
Last modified in release 5.5.0.
BroadSQL