aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xexamples/minimal2
-rw-r--r--lib/rb-cmdline.rb1
-rw-r--r--rb-cmdline.gemspec11
4 files changed, 15 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c111b33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+*.gem
diff --git a/examples/minimal b/examples/minimal
index 7ec826c..66af72f 100755
--- a/examples/minimal
+++ b/examples/minimal
@@ -1,4 +1,6 @@
#!/usr/bin/env ruby
+require("rb-cmdline")
+
cmd = Cmdline.new
cmd.parse(Cmdline.argv)
diff --git a/lib/rb-cmdline.rb b/lib/rb-cmdline.rb
new file mode 100644
index 0000000..7de0651
--- /dev/null
+++ b/lib/rb-cmdline.rb
@@ -0,0 +1 @@
+require("cmdline")
diff --git a/rb-cmdline.gemspec b/rb-cmdline.gemspec
new file mode 100644
index 0000000..6d35fc8
--- /dev/null
+++ b/rb-cmdline.gemspec
@@ -0,0 +1,11 @@
+Gem::Specification.new do |s|
+ s.name = "rb-cmdline"
+ s.version = "1.0.0"
+ s.licenses = ["Apache-2.0"]
+ s.summary = "A command line parser written in Ruby"
+ s.authors = ["gearnode"]
+ s.email = "bryan@frimin.fr"
+ s.files = ["lib/rb-cmdline.rb", "lib/cmdline.rb"]
+ s.homepage = "https://github.com/gearnode/rb-cmdline"
+ s.metadata = { "source_code_uri" => "https://github.com/gearnode/rb-cmdline" }
+end