Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ Queries the code index and returns at most 100 results.

### Code Search Without Filters

#### CLI
#### Command-Line Interface

```commandline
searchcode "import module"
```

#### SDK
#### In Code

```python
from pprint import pprint
Expand All @@ -82,13 +82,13 @@ pprint(search)

### Filter by Language (Java and JavaScript)

#### CLI
#### Command-Line Interface

````commandline
searchcode "import module" --languages java,javascript
````

#### SDK
#### In Code

```python
from searchcode import Searchcode
Expand All @@ -104,13 +104,13 @@ ___

### Filter by Source (BitBucket and CodePlex)

#### CLI
#### Command-Line Interface

```commandline
searchcode "import module" --sources bitbucket,codeplex
```

#### SDK
#### In Code

```python
from searchcode import Searchcode
Expand All @@ -126,13 +126,13 @@ ___

### Filter by Lines of Code (Between 500 and 1000)

#### CLI
#### Command-Line Interface

```commandline
searchcode "import module" --lines-of-code-gt 500 --lines-of-code-lt 1000
```

#### SDK
#### In Code

```python

Expand All @@ -149,13 +149,13 @@ ___

### With Callback Function (JSONP only)

#### CLI
#### Command-Line Interface

```commandline
searchcode "import module" --callback myCallback
```

#### SDK
#### In Code

```python
from searchcode import Searchcode
Expand Down Expand Up @@ -204,13 +204,13 @@ ___

Returns the raw data from a code file given the code id which can be found as the `id` in a code search result.

#### CLI
#### Command-Line Interface

```commandline
searchode code 4061576
```

#### SDK
#### In Code

#### Params

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "searchcode"
version = "0.4.1"
version = "0.4.2"
description = "Simple, comprehensive code search."
authors = ["Ritchie Mwewa <rly0nheart@duck.com>"]
license = "GPLv3+"
Expand Down
2 changes: 1 addition & 1 deletion searchcode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from .api import Searchcode

__pkg__ = "searchcode"
__version__ = "0.4.1"
__version__ = "0.4.2"
__author__ = "Ritchie Mwewa"


Expand Down