Navigation Menu

Skip to content

Commit

Permalink
Create Groonga::Client::CommandLine namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 24, 2017
1 parent cdd11aa commit cd0253c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bin/groonga-client
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# -*- ruby -*-
#
# Copyright (C) 2015-2016 Kouhei Sutou <kou@clear-code.com>
# Copyright (C) 2015-2017 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand All @@ -17,7 +17,7 @@
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

require "groonga/client/cli"
require "groonga/client/command-line/groonga-client"

cli = Groonga::Client::CLI.new
cli = Groonga::Client::CommandLine::GroongaClient.new
exit(cli.run(ARGV))
@@ -1,4 +1,4 @@
# Copyright (C) 2015-2016 Kouhei Sutou <kou@clear-code.com>
# Copyright (C) 2015-2017 Kouhei Sutou <kou@clear-code.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
Expand All @@ -25,7 +25,8 @@

module Groonga
class Client
class CLI
module CommandLine
class GroongaClient
def initialize
@protocol = :http
@host = "localhost"
Expand Down Expand Up @@ -229,5 +230,6 @@ def run_command(command)
end
end
end
end
end
end

0 comments on commit cd0253c

Please sign in to comment.