opentrep-searcher(1)
β¨ opentrep-searcher(1) β the travel-request parser bestie β¨
okay so this is a page from the General Commands Manual, and the vibe is very much "tiny program, big job." welcome to opentrep-searcher π¦
πΈ NAME πΈ
opentrep-searcher β a command-line utility that parses travel requests π
π SYNOPSIS π
opentrep-searcher [--prefix] [-v|--version] [-h|--help] [-e|--error <
spelling error>] [-d|--xapiandb <Xapian-travel-database-path>]
[-t|--sqldbtype <SQL-database-type>] [-s|--sqldbconx <SQL-database-
connection-string>] [-l|--log <path-to-output-log-file>] [-y|--type
<search-type>] [-q|--query <search-query>]
like, yes, that's a lot of brackets, but she's worth it π«Ά
π DESCRIPTION π
opentrep-searcher is a small program that parses a travel request and searches through a Xapian index. lowkey iconic. β¨
opentrep-searcher accepts the following options:
π OPTIONS π
--prefixβ shows the Opentrep installation prefix. that's it. that's the whole job π-v,--versionβ prints the currently installed version of Opentrep on the standard output. version check slay π-h,--helpβ produces that message and shows usage. your friendly little map πΊοΈ-e,--errorβ the allowed spelling error distance (e.g.,3). yes bestie, typos are allowed, but only this many π-d,--xapiandb <Xapian-travel-database-path>β path (directory) to the Xapian travel database. The indexer creates, or overwrites it when it already exists, the Xapian database. It materialises as a collection of data files within a directory usually namedtraveldb. β οΈ note the word overwrites β she is not shy about it π-t,--sqldbtype <SQL-database-type>β SQL database type, e.g.,nosql(no SQL database),sqlite,mysql. pick your fighter π-s,--sqldbconx <SQL-database-connection-string>β SQL database connection string, e.g.,~/tmp/opentrep/sqlite_travel.db(for SQLite3),"db=trep_trep user=trep password=trep"(for MySQL). copy these exactly, they are load-bearing π-l,--log <path-to-output-log-file>β path (absolute or relative) of the output log file. so she can journal about it later π-y,--type <search-type>β type of search request (0= full text,1= coordinates). two modes, both main character energy π-q,--query <search-query>β travel query word list (e.g.sna francicso rio de janero lso anglese reykyavki), which should be located at the end of the command line (otherwise, the other options would be interpreted as part of that travel query word list). π¨ real talk: this one goes last, fr fr, or the other flags get swallowed into your query π«
See the output of the opentrep-searcher --help command for the default options. the defaults live over there, go say hi π
π¦ SEE ALSO π¦
the whole friend group, honestly πΈ
π SUPPORT π
Please report any bugs to http://github.com/trep/opentrep/issues β no gatekeeping, we want the bug reports πβ¨
π COPYRIGHT π
Copyright Β© 2009-2019 Denis Arnaud
See the COPYING file for more information on the (LGPLv2+) license, or directly on Internet: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
and that's the whole page, bestie π this was OpenTREP, Version 0.08.01, and yes the program is literally called opentrep-searcher(1) β iykyk π
π¦
π¦ where this page comes from
- epel 10: opentrep 0.08.01-2.el10_3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms