{"repo":"noborus/mdtsql","free":true,"listed":false,"github":"https://github.com/noborus/mdtsql","clone":"git clone https://github.com/noborus/mdtsql.git","description":"Execute SQL to markdown table and convert to other format","language":"Go","stars":25,"topics":["markdown","sql","md2csv","trdsql"],"license":"MIT","category":"databases-storage","readme_excerpt":"mdtsql A CLI tool that executes SQL queries on various files including markdown table files and outputs the results to various files. install Go install Homebrew Linux packages (deb/rpm) Linux users can install prebuilt packages from the Github Releases page. - Debian/Ubuntu: .deb - RHEL/Fedora/openSUSE: .rpm Asset names are published like this: - mdtsql linux amd64.deb - mdtsql linux amd64.rpm - mdtsql linux 386.deb - mdtsql linux 386.rpm - mdtsql linux arm64.deb - mdtsql linux arm64.rpm Example: Download and install example ( v0.1.0 , amd64): Binary Download the latest release from Github Releases The following binaries can be downloaded from release. - Darwin arm64 - Darwin x86 64 - Linux arm64 - Linux i386 - Linux x86 64 - Windows arm64 - Windows x86 64 To install a binary, download the appropriate file for your system, extract it, and place the mdtsql executable in a directory included in your system's PATH . For example, on a Unix-like system, you might do: Usage Executes SQL for markdown containing table. The result can be output to CSV, JSON, LTSV, YAML, Markdown, etc. option Example c1 a b c ---- ---- ---- ---- 1 a1 b1 c1 2 a2 b2 c2 3 a3 b3 c3 If the markdown includes multiple tables, the second and subsequent tables are marked with ::number . Specify the output format with option -o. -o csv, -o ltsv, -ojson ... List Command The list command displays all the tables in the specified markdown file. Table Command The table command executes SQL(SELECT FROM table) for mar","default_branch":null,"files":null,"tree":[],"storefront":"/r/noborus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/noborus/mdtsql/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}