MCPcopy
hub / github.com/elves/elvish

github.com/elves/elvish @v0.21.0 sqlite

repository ↗ · DeepWiki ↗ · release v0.21.0 ↗
4,217 symbols 16,383 edges 621 files 1,372 documented · 33%
README

Elvish

CI status FreeBSD & gccgo test status Test Coverage Go Reference Packaging status

Forum Twitter

Telegram Group Discord server #users:elv.sh #elvish on libera.chat Gitter

(Chat rooms are all bridged together thanks to Matrix.)

Elvish is:

  • A powerful scripting language.

  • A shell with useful interactive features built-in.

  • A statically linked binary for Linux, BSDs, macOS or Windows.

Elvish is pre-1.0. This means that breaking changes will still happen from time to time, but it's stable enough for both scripting and interactive use.

Documentation

User docs

User docs are hosted on Elvish's website, elv.sh. This includes how to install Elvish, tutorials, reference pages, and news.

Development docs

Development docs are in ./docs.

Awesome Elvish

Awesome Elvish packages and tools that support Elvish.

License

All source files use the BSD 2-clause license (see LICENSE), except for the following:

Extension points exported contracts — how you extend this code

Codec (Interface)
Codec is used to render output. [9 implementers]
pkg/md/md.go
DBStore (Interface)
DBStore is the permanent storage backend for elvish. It is not thread-safe. In particular, the store may be closed while [11 …
pkg/store/db_store.go
Shower (Interface)
Shower wraps the Show function. [8 implementers]
pkg/diag/shower.go
Highlighter (Interface)
Highlighter represents a code highlighter whose result can be delivered asynchronously. [7 implementers]
pkg/cli/app_spec.go
Matcher (Interface)
Matcher wraps the Match method. [11 implementers]
pkg/parse/np/np.go
Indexer (Interface)
Indexer wraps the Index method. [8 implementers]
pkg/eval/vals/index.go
Program (Interface)
Program represents a subprogram. This is the main abstraction provided by this package. See the package-level godoc for [7 …
pkg/prog/prog.go
Styling (Interface)
Styling specifies how to change a Style. It can also be applied to a Segment or Text. [6 implementers]
pkg/ui/styling.go

Core symbols most depended-on inside this repo

Rets
called by 825
pkg/tt/tt.go
Args
called by 791
pkg/tt/tt.go
Errorf
called by 591
pkg/tt/tt.go
K
called by 335
pkg/cli/term/event.go
T
called by 300
pkg/ui/text.go
WriteString
called by 203
pkg/eval/port.go
Write
called by 166
pkg/cli/term/buffer_builder.go
Inject
called by 103
pkg/cli/clitest/fake_tty.go

Shape

Function 2,050
Method 1,424
Struct 536
Interface 108
TypeAlias 76
FuncType 22
Class 1

Languages

Go99%
TypeScript1%
Python1%

Modules by API surface

pkg/parse/parse.go66 symbols
pkg/eval/exception.go65 symbols
pkg/persistent/hashmap/hashmap.go63 symbols
pkg/eval/builtin_special.go60 symbols
pkg/persistent/vector/vector.go51 symbols
pkg/md/fmt.go48 symbols
pkg/cli/app_test.go46 symbols
pkg/eval/compile_value.go42 symbols
pkg/rpc/server.go40 symbols
pkg/md/inline.go39 symbols
pkg/ui/styling.go38 symbols
pkg/cli/app.go38 symbols

Dependencies from manifests, versioned

github.com/creack/ptyv1.1.21 · 1×
github.com/mattn/go-isattyv0.0.20 · 1×
github.com/sourcegraph/jsonrpc2v0.2.0 · 1×
go.etcd.io/bboltv1.3.9 · 1×
golang.org/x/syncv0.6.0 · 1×
golang.org/x/sysv0.17.0 · 1×
pkg.nimblebun.works/go-lspv1.1.0 · 1×
src.elv.shv0.19.2 · 1×
@types/node22.2.0 · 1×
@types/vscode1.65.0 · 1×

For agents

$ claude mcp add elvish \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact