{"id":18045269,"url":"https://github.com/dpb587/opengrok-cli","last_synced_at":"2025-10-28T20:52:11.754Z","repository":{"id":138804500,"uuid":"6327620","full_name":"dpb587/opengrok-cli","owner":"dpb587","description":"Command line interface for getting results from an OpenGrok server.","archived":false,"fork":false,"pushed_at":"2015-12-04T06:24:57.000Z","size":10,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-24T03:11:26.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpb587.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-22T01:01:47.000Z","updated_at":"2022-10-23T06:06:11.000Z","dependencies_parsed_at":"2023-03-14T06:16:02.613Z","dependency_job_id":null,"html_url":"https://github.com/dpb587/opengrok-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fopengrok-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fopengrok-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fopengrok-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpb587%2Fopengrok-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpb587","download_url":"https://codeload.github.com/dpb587/opengrok-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248140302,"owners_count":21054275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-30T18:12:41.342Z","updated_at":"2025-10-28T20:52:11.639Z","avatar_url":"https://github.com/dpb587.png","language":"PHP","readme":"dpb587/opengrok-cli\n===================\n\nCommand line interface for getting results from an OpenGrok server.\n\nSetup\n-----\n\n    $ git clone git://github.com/dpb587/opengrok-cli.git\n    $ cd opengrok-cli/\n    $ curl -sS https://getcomposer.org/installer | php  # If you don't already have Composer\n    $ composer.phar install\n\n\nUsage\n-----\n\nUse `--help` to see all available options.\n\n    $ ./bin/opengrok-cli --server=http://lxr.php.net --project=PHP_5_4 oci_internal_debug\n    /ext/oci8/oci8.c:777: PHP_FUNCTION(oci_internal_debug);\n    /ext/oci8/oci8.c:862: \tPHP_FE(oci_internal_debug,\t\t\targinfo_oci_internal_debug)\n    /ext/oci8/oci8.c:932: \tPHP_FALIAS(ociinternaldebug,\toci_internal_debug,\t\targinfo_oci_internal_debug)\n    /ext/oci8/oci8_interface.c:1307: /* {{ \"{{{\" }} proto void oci_internal_debug(int onoff)\n    /ext/oci8/oci8_interface.c:1309: PHP_FUNCTION(oci_internal_debug)\n\nAdditionally, the following environment variables can be used:\n\n * `OPENGROK_SERVER` (instead of `--server`)\n * `OPENGROK_PROJECT` (instead of `--project`)\n\n\nPHAR\n----\n\nTo create a [PHAR](http://us.php.net/manual/en/book.phar.php), you'll need to run `composer.phar install --dev`. Then\nyou may use `./bin/compile` which will generate `opengrok-cli.phar` in the current directory.\n\nIf the `OPENGROK_SERVER` or `OPENGROK_PROJECT` environment variables are defined, they will be used as defaults in the\ncompiled version. For example:\n\n    $ export OPENGROK_SERVER=http://lxr.php.net\n    $ export OPENGROK_PROJECT=PHP_5_4\n    $ php -dphar.readonly=0 ./bin/compile\n    $ unset OPENGROK_SERVER OPENGROK_PROJECT\n    $ chmod +x opengrok-cli.phar\n    $ ./opengrok-cli.phar oci_internal_debug\n    /ext/oci8/oci8.c:777: PHP_FUNCTION(oci_internal_debug);\n    /ext/oci8/oci8.c:862: \tPHP_FE(oci_internal_debug,\t\t\targinfo_oci_internal_debug)\n    /ext/oci8/oci8.c:932: \tPHP_FALIAS(ociinternaldebug,\toci_internal_debug,\t\targinfo_oci_internal_debug)\n    /ext/oci8/oci8_interface.c:1307: /* {{ \"{{{\" }} proto void oci_internal_debug(int onoff)\n    /ext/oci8/oci8_interface.c:1309: PHP_FUNCTION(oci_internal_debug)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpb587%2Fopengrok-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpb587%2Fopengrok-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpb587%2Fopengrok-cli/lists"}