1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00

refactor: :trollface:

This commit is contained in:
Natapat Samutpong 2022-01-27 13:15:25 +07:00
parent bb86934b53
commit 04b2c27930
6 changed files with 0 additions and 73 deletions

View file

@ -1,9 +0,0 @@
root = true
[*.cr]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

5
trolley/.gitignore vendored
View file

@ -1,5 +0,0 @@
/docs/
/lib/
/bin/
/.shards/
*.dwarf

View file

@ -1,13 +0,0 @@
name: trolley
version: 0.1.0
authors:
- Natapat Samutpong <natapat.samutpong@gmail.com>
targets:
trolley:
main: src/trolley.cr
crystal: 1.3.2
license: MIT

View file

@ -1,2 +0,0 @@
require "spec"
require "../src/trolley"

View file

@ -1,9 +0,0 @@
require "./spec_helper"
describe Trolley do
# TODO: Write tests
it "works" do
false.should eq(true)
end
end

View file

@ -1,35 +0,0 @@
require "option_parser"
module Trolley
VERSION = "0.1.0"
def self.display_help
puts "trolley " + VERSION
puts <<-HELP
USAGE:
trolley [COMMAND] [OPTION]
COMMANDS:
-h, --help Display this help message
-v, --version Display version
HELP
exit
end
def self.run
OptionParser.parse do |parser|
parser.on("-h", "--help") do
display_help
end
parser.on("-v", "--version") do
puts "trolley " + VERSION
exit
end
end
end
end
begin
Trolley.run
end