项目作者: udl

项目描述 :
A SQL formatter desktop app written in ruby
高级语言: Ruby
项目地址: git://github.com/udl/shoesql.git
创建时间: 2020-10-26T15:27:24Z
项目社区:https://github.com/udl/shoesql

开源协议:MIT License

下载


shoesql

A SQL formatter desktop app written in ruby

screenshot of shoesql window

ShoeSQL is a little desktop app that can format SQL strings so that you don’t have to put your precious statements into just any website. (Ever wondered if those admins have logs?)

It’s built with https://github.com/shoes/shoes3 and https://github.com/sonota88/anbt-sql-formatter.

Running the app

There is a standalone OSX application. For other operating systems, please either contribute a standalone version or go with the Shoes app approach (see below).

Running the app as Shoes app

Until there is a wrapped version of the application, you need to download the appropriate shoes version for your operating system.
After checking out this repository, start shoes and load lib/shoesql.rb.

Packaging as standalone app

  • Open Shoes
  • Select Package A Shoes Application option
  • Select lib.shy as startup script
  • Select Shoes will be included with my app
  • Choose your architecture

Creating the .shy file

  • Open Shoes
  • Select Package A Shoes Application option
  • Select directory and then lib/shoesql.rb as startup script
  • Shoes will then ask you to generate a .shy file

Improvement ideas not yet implemented

  • code highlighting?
  • build pipeline that automatically creates OS X, windows and linux apps
  • fancy app icon / logo

Contributing

Please open a pull request.

License

MIT