kythe

command
v0.0.67 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0, NCSA Imports: 5 Imported by: 0

Documentation

Overview

Binary kythe exposes a CLI interface to the xrefs and filetree services backed by a combined serving table.

Examples:

# Show complete command listing
kythe

# List all corpus root uris
kythe --api /path/to/table ls --uris

# List root directory contents for corpus named 'somecorpus'
kythe --api /path/to/table ls kythe://somecorpus

# List Kythe's kythe/cxx/common directory (as URIs)
kythe --api /path/to/table ls --uris kythe://kythe?path=kythe/cxx/common

# Display all file anchor decorations for kythe/cxx/common/CommandLineUtils.cc
kythe --api /path/to/table decor kythe://kythe?lang=c%2B%2B?path=kythe/cxx/common/CommandLineUtils.cc

# Show all outward edges for a particular node
kythe --api /path/to/table edges kythe:?lang=java#java.util.List

# Show reverse /kythe/edge/defines edges for a node
kythe --api /path/to/table edges --kinds '%/kythe/edge/defines' kythe://kythe?lang=java?path=kythe/java/com/google/devtools/kythe/analyzers/base/EntrySet.java#1887f665ee4c77287d1022c151000a489e17147215309818cf4150c601442cc5

# Show all facts (except /kythe/text) for a node
kythe --api /path/to/table node kythe:?lang=c%2B%2B#StripPrefix%3Acommon%3Akythe%23n%23D%40kythe%2Fcxx%2Fcommon%2FCommandLineUtils.cc%3A167%3A1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL