@ast-index/cli 3.32.2 → 3.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# @ast-index/cli
|
|
2
|
+
|
|
3
|
+
Fast AST-based code search CLI for 30 programming languages. Native Rust binary distributed via npm.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @ast-index/cli
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Or use directly:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx @ast-index/cli rebuild
|
|
15
|
+
npx @ast-index/cli search MyClass
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Supported Languages
|
|
19
|
+
|
|
20
|
+
Kotlin, Java, Swift, Objective-C, TypeScript, JavaScript, Vue, Svelte, Rust, Ruby, C#, Python, Go, C++, Scala, PHP, Dart, Perl, Lua, Elixir, Bash, SQL, R, Matlab, Groovy, Common Lisp, GDScript, BSL, Protocol Buffers, WSDL/XSD.
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
# Index your project
|
|
26
|
+
ast-index rebuild
|
|
27
|
+
|
|
28
|
+
# Search symbols
|
|
29
|
+
ast-index search MyClass
|
|
30
|
+
ast-index symbol MyFunction
|
|
31
|
+
ast-index class UserService
|
|
32
|
+
|
|
33
|
+
# Find usages and callers
|
|
34
|
+
ast-index usages MyMethod
|
|
35
|
+
ast-index callers handleClick
|
|
36
|
+
|
|
37
|
+
# Class hierarchy
|
|
38
|
+
ast-index hierarchy BaseController
|
|
39
|
+
ast-index implementations Animal
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Platforms
|
|
43
|
+
|
|
44
|
+
| Platform | Package |
|
|
45
|
+
|----------|---------|
|
|
46
|
+
| macOS ARM64 | `@ast-index/cli-darwin-arm64` |
|
|
47
|
+
| macOS x64 | `@ast-index/cli-darwin-x64` |
|
|
48
|
+
| Linux x64 | `@ast-index/cli-linux-x64` |
|
|
49
|
+
| Linux ARM64 | `@ast-index/cli-linux-arm64` |
|
|
50
|
+
| Windows x64 | `@ast-index/cli-win32-x64` |
|
|
51
|
+
|
|
52
|
+
## Also available via
|
|
53
|
+
|
|
54
|
+
- **Homebrew**: `brew install defendend/ast-index/ast-index`
|
|
55
|
+
- **GitHub Releases**: [download binaries](https://github.com/defendend/Claude-ast-index-search/releases)
|
|
56
|
+
|
|
57
|
+
## License
|
|
58
|
+
|
|
59
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,21 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ast-index/cli",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "Fast AST-based
|
|
3
|
+
"version": "3.33.0",
|
|
4
|
+
"description": "Fast AST-based code search CLI for 30 programming languages. Native Rust binary distributed via npm.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ast",
|
|
7
|
+
"code-search",
|
|
8
|
+
"symbol-search",
|
|
9
|
+
"indexer",
|
|
10
|
+
"claude-code",
|
|
11
|
+
"ai-coding",
|
|
12
|
+
"typescript",
|
|
13
|
+
"kotlin",
|
|
14
|
+
"swift",
|
|
15
|
+
"rust",
|
|
16
|
+
"python",
|
|
17
|
+
"ruby",
|
|
18
|
+
"go",
|
|
19
|
+
"tree-sitter"
|
|
20
|
+
],
|
|
5
21
|
"bin": {
|
|
6
22
|
"ast-index": "./bin/ast-index"
|
|
7
23
|
},
|
|
8
24
|
"optionalDependencies": {
|
|
9
|
-
"@ast-index/cli-darwin-arm64": "3.
|
|
10
|
-
"@ast-index/cli-darwin-x64": "3.
|
|
11
|
-
"@ast-index/cli-linux-x64": "3.
|
|
12
|
-
"@ast-index/cli-linux-arm64": "3.
|
|
13
|
-
"@ast-index/cli-win32-x64": "3.
|
|
25
|
+
"@ast-index/cli-darwin-arm64": "3.33.0",
|
|
26
|
+
"@ast-index/cli-darwin-x64": "3.33.0",
|
|
27
|
+
"@ast-index/cli-linux-x64": "3.33.0",
|
|
28
|
+
"@ast-index/cli-linux-arm64": "3.33.0",
|
|
29
|
+
"@ast-index/cli-win32-x64": "3.33.0"
|
|
14
30
|
},
|
|
15
31
|
"repository": {
|
|
16
32
|
"type": "git",
|
|
17
33
|
"url": "https://github.com/defendend/Claude-ast-index-search"
|
|
18
34
|
},
|
|
35
|
+
"homepage": "https://github.com/defendend/Claude-ast-index-search#readme",
|
|
19
36
|
"license": "MIT",
|
|
20
37
|
"engines": {
|
|
21
38
|
"node": ">=14"
|