https://github.com/voldemort/voldemort
Raw File
Tip revision: d546a027b19c940535dc28331fc32ab934456f3e authored by Felix GV on 10 April 2015, 18:34:22 UTC
Releasing Voldemort 1.9.9
Tip revision: d546a02
voldemort-shell.bat
@echo off

REM
REM Copyright 2013 Carlos Tasada
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
REM You may obtain a copy of the License at
REM
REM http://www.apache.org/licenses/LICENSE-2.0
REM
REM Unless required by applicable law or agreed to in writing, software
REM distributed under the License is distributed on an "AS IS" BASIS,
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
REM See the License for the specific language governing permissions and
REM limitations under the License.
REM
REM ** This Windows BAT file is not tested with each Voldemort release. **

set argC=0
for %%a in (%*) do set /a argC+=1
if %argC% geq 2 goto :continue
echo "USAGE: bin/voldemort-shell.bat store_name bootstrap_url [command_file] [--client-zone-id <zone-id>]"
goto :eof
:continue

setlocal
SET BASE_DIR=%~dp0..

call "%BASE_DIR%\bin\run-class.bat" jline.ConsoleRunner voldemort.VoldemortClientShell %*

endlocal

:eof
back to top