elbywan / crystalline

A Language Server Protocol implementation for Crystal. 🔮
MIT License
424 stars 21 forks source link

Add a CLI with options parsing #91

Open mjblack opened 5 days ago

mjblack commented 5 days ago

I installed Crystalline a while ago and I don't know which version I have installed. It would be nice if I could do something like the following.

$ crystalline --version
Crystalline Version v0.13.1

or something like

$ crystalline --help
Usage:
   crystalline [flags...]

Crystalline LSP

Flags:
    --help, -h                            # Displays help file
    --debug, -d                           # Enables debugging
    --version                             # Version information