dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 191 forks source link

"sp_helptext" command should output only the result (without "frame") #493

Open rodrigoramos opened 4 years ago

rodrigoramos commented 4 years ago

First of all, that's feature request.

When using sp_helptext command, it would be better not to print the "frame" (Example 1) where the output of the command is inside of.

Like this:

+-----------------------------------------------------------------------------------------------------------------------+
| Text                                                                                                                  |
|-----------------------------------------------------------------------------------------------------------------------|
|  Content                                                                                                              |
+-----------------------------------------------------------------------------------------------------------------------+
Commands completed successfully.

Especially when using -Q option.

That allow us to use mssql-cli in scripts context because the output would be more "parseable".