cosmo0920 / grnline.fs

A tiny command line tool for Groonga.
MIT License
0 stars 2 forks source link
dotnet groonga mono

grnline.fs

A command line tool for Gronga on .NET 4.5.

Build Status

Windows Server 2012 R2 (Appveyor) Mono 4.2.1 or later, OSX (Travis) Mono 4.2.1 or later, Ubuntu Trusty (Wercker)
Build status Build Status wercker status

Try it

For Windows (.NET Framework)

For mono platform (Non Windows environment)

Usage

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]

Example

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

Detail

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.

Note

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.

Developing

For Windows

For OS X (advanced)

For Ubuntu Trusty (advanced)

Testing

Note that this project uses Persimmon as a testing library.

For Windows

For OS X & Ubuntu Trusty

LICENSE

MIT.