dxr-cmd-0.2.2
توضیحات
Command-line tool for querying DXR.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dxr-cmd-0.2.2 |
| نام | dxr-cmd |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michael Kelly |
| ایمیل نویسنده | me@mkelly.me |
| آدرس صفحه اصلی | https://github.com/Osmose/dxr |
| آدرس اینترنتی | https://pypi.org/project/dxr-cmd/ |
| مجوز | MIT |
DXR Command-line Tool
=====================
A small command-line tool for searching `DXR <https://dxr.mozilla.org/>`_.
.. image:: https://osmose.github.io/dxr-cmd/dxr-cmd.gif
Install
-------
DXR-cmd is written in Python and can be installed using ``pip``, which comes
included with most recent versions of Python::
pip install dxr-cmd
Usage
-----
Adds a command called ``dxr``:
::
Run a search against DXR.
Usage: dxr [options] <query>...
Options:
--case-insensitive Perform a case-insensitive search (searches are
case-sensitive by default).
-h --help Show this screen.
--limit=LIMIT Maximum number of matches [default: 50]
--no-highlight Disable syntax highlighting.
--pager=PROGRAM Direct output through PROGRAM.
--server=DOMAIN DXR instance to send the search request to.
[default: https://dxr.mozilla.org]
--style=STYLE Name of Pygments style for syntax highlighting.
[default: paraiso-dark]
--tree=TREE Code tree to search against.
[default: mozilla-central]
-v --version Show program version.
Developer Setup
---------------
1. Use a `virtualenv <https://virtualenv.pypa.io/en/latest/>`_!
2. Install the package in development mode::
$ ./setup.py develop
License
-------
This software is licensed under the
`MIT License <http://opensource.org/licenses/MIT>`_. For more information, see
the ``LICENSE`` file.
نحوه نصب
نصب پکیج whl dxr-cmd-0.2.2:
pip install dxr-cmd-0.2.2.whl
نصب پکیج tar.gz dxr-cmd-0.2.2:
pip install dxr-cmd-0.2.2.tar.gz