A command line tool for Gronga on .NET 4.5.
Windows Server 2012 R2 (Appveyor) | Mono 4.2.1 or later, OSX (Travis) | Mono 4.2.1 or later, Ubuntu Trusty (Wercker) |
---|---|---|
You have to install .NET 4.5. (Not client profile)
Unpack grnline.fs-VERSION.zip
Execute grnline.fs.exe via cmd.exe or powershell.exe
You have to install mono-runtime 4.2.1 or later and fsharp packages from mono repository. In more detail, please refer to .travis.yml(OS X) or wercker.yml(Ubuntu Trusty).
Unpack grnline.fs-VERSION.zip
Execute grnline.fs.exe via bash or zsh or other posix like shell.
cmd> grnline.fs.exe --groonga-path GROONGA_PATH --db-path GROONGA_DB [--encoding ENCODING] [--pretty true]
For non-Windows environment, execute this command via mono
like this:
$ mono grnline.fs.exe --groonga-path GROONGA_PATH --db-path GROONGA_DB [--encoding ENCODING] [--pretty true]
For Windows:
cmd> grnline.fs.exe --groonga-path "C:\\groonga-5.1.0-x64\\groonga-5.1.0-x64\\bin\\groonga.exe" --db-path "test.db" --encoding UTF-8 --pretty true
For *nix like environment:
mono grnline.fs.exe --groonga-path `which groonga` --db-path test.db --encoding UTF-8 --pretty true
grnline.fs
create child Groonga process and Groonga child process redirects stdin/stdout to its parent.
You can use pretty printing with adding --pretty true
to command line arguments.
If you enconter space contained path, you can get MS-DOS 8.3 style path with dir /x
and use it such as --db-path
arguments.
Note that this project uses Persimmon as a testing library.
RunTests.ps1
on PowerShell. You have to set Remote-Signed
PowerShell security level with Set-ExecutionPolicy
Cmdlet.RunTests.sh
.MIT.