You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For submitting contributions, check out [Development.md](./Development.md)
38
-
to better understand project structure and common workflows.
42
+
For more details about indexers, including LSIF-based indexers,
43
+
see the [Sourcegraph documentation](https://docs.sourcegraph.com/code_navigation/references/indexers).
39
44
40
-
Contributors should abide by the [Sourcegraph Code of Conduct](https://handbook.sourcegraph.com/company-info-and-process/communication/code_of_conduct/).
45
+
Other tools which use SCIP include the [Sourcegraph CLI](https://github.com/sourcegraph/src-cli),
46
+
and the SCIP CLI in this repo.
41
47
42
-
## Installing CLI
48
+
## Installing the `scip`CLI
43
49
44
-
You can find binaries for `scip`
45
-
[here](https://github.com/sourcegraph/scip/releases). If you'd like to create a
46
-
binary locally you can do so with:
50
+
You can find binaries for the `scip` CLI tool [here](https://github.com/sourcegraph/scip/releases).
print Print a SCIP index in a human-readable format for debugging
75
-
snapshot Generate snapshot files for golden testing
76
-
stats Output useful statistics about a SCIP index
77
-
help, h Shows a list of commands or help for one command
78
-
79
-
GLOBAL OPTIONS:
80
-
--help, -h show help (default: false)
81
-
--version, -v print the version (default: false)
82
-
```
83
-
84
-
### `scip convert`
85
-
86
-
```
87
-
NAME:
88
-
scip convert - Convert a SCIP index to an LSIF index
89
-
90
-
USAGE:
91
-
scip convert [command options] [arguments...]
92
-
93
-
OPTIONS:
94
-
--from value Path to SCIP index file (default: index.scip)
95
-
--to value Output path for LSIF index (default: dump.lsif)
96
-
```
97
-
98
-
### `scip lint`
99
-
100
-
```
101
-
NAME:
102
-
scip lint - Flag potential issues with a SCIP index
103
-
104
-
USAGE:
105
-
scip lint [command options] [arguments...]
106
-
107
-
DESCRIPTION:
108
-
Example usage:
109
-
110
-
scip lint /path/to/index.scip
111
-
112
-
You may want to filter the output using `grep -v <pattern>`
113
-
to narrow down on certain classes of errors.
114
-
115
-
OPTIONS:
116
-
--help, -h show help (default: false)
117
-
```
118
-
119
-
### `scip print`
120
-
121
-
```
122
-
NAME:
123
-
scip print - Print a SCIP index in a human-readable format for debugging
124
-
125
-
USAGE:
126
-
scip print [command options] [arguments...]
127
-
128
-
DESCRIPTION:
129
-
WARNING: The output may change over time.
130
-
Do not rely on the output of this command in scripts
131
-
132
-
OPTIONS:
133
-
--help, -h show help (default: false)
134
-
```
135
-
136
-
### `scip snapshot`
137
-
138
-
```
139
-
NAME:
140
-
scip snapshot - Generate snapshot files for golden testing
141
-
142
-
USAGE:
143
-
scip snapshot [command options] [arguments...]
144
-
145
-
DESCRIPTION:
146
-
The snapshot subcommand generates snapshot files which
147
-
can be use for inspecting the output of an index in a
148
-
visual way. Occurrences are marked with caret signs (^)
149
-
and symbol information.
150
-
151
-
OPTIONS:
152
-
--from value Path to SCIP index file (default: index.scip)
153
-
--to value Path to output directory for snapshot files (default: scip-snapshot)
154
-
```
155
-
156
-
### `scip stats`
59
+
## Contributing
157
60
158
-
```
159
-
NAME:
160
-
scip stats - Output useful statistics about a SCIP index
61
+
We welcome questions, suggestions as well as code and docs contributions.
161
62
162
-
USAGE:
163
-
scip stats [command options] [arguments...]
63
+
For submitting contributions, check out [Development.md](./Development.md)
64
+
to better understand project structure and common workflows.
164
65
165
-
OPTIONS:
166
-
--from value Path to SCIP index file (default: index.scip)
167
-
```
66
+
Contributors should abide by the [Sourcegraph Code of Conduct](https://handbook.sourcegraph.com/company-info-and-process/communication/code_of_conduct/).
0 commit comments