https://github.com/voldemort/voldemort
Raw File
Tip revision: 8d344247237181ffd2ceb3f809d0d330b7e3bae1 authored by Abhinay Nagpal on 25 March 2013, 18:12:38 UTC
Prepare to release version release-1.3.1
Tip revision: 8d34424
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