MCPcopy Index your code
hub / github.com/anchordotdev/cli

github.com/anchordotdev/cli @v0.1.12

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.12 ↗ · + Follow
973 symbols 3,305 edges 140 files 79 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GitHub Anchor Banner

Introduction

anchor provides a command line interface for the Anchor.dev certificate management platform.

  • Need a secure browser context for development?
  • There's a better option than localhost.
  • Effortlessly get HTTPS in your local development environment. Get set up in two easy commmands.

For more information visit Lcl.host or the Anchor Docs

Installation

macOS

Available via Homebrew or as a downloadable binary from the releases page.

Homebrew

Install:

brew install anchordotdev/tap/anchor

Upgrade:

brew update && brew upgrade anchordotdev/tap/anchor

Linux & BSD

Available via Homebrew or as a downloadable binary from the releases page.

Homebrew

Install:

brew install anchordotdev/tap/anchor

Upgrade:

brew upgrade anchordotdev/tap/anchor

Windows

Available via Winget or as a downloadable binary from the releases page.

Winget

Install:

winget install anchor

Upgrade:

winget upgrade anchor

Install from source

Install:

go install github.com/anchordotdev/cli/cmd/anchor@latest

Setup

  • After installing, run anchor lcl and follow the instructions.

Extension points exported contracts — how you extend this code

UIer (Interface)
(no doc) [22 implementers]
cmd.go
Detector (Interface)
Detector interface represents a project detector [2 implementers]
detection/detection.go
Store (Interface)
(no doc) [4 implementers]
truststore/truststore.go
Choosable (Interface)
(no doc) [3 implementers]
component/models/selectors.go
Middleware (Interface)
(no doc) [2 implementers]
api/api.go
Clipboard (Interface)
(no doc) [1 implementers]
cli.go
SystemFS (Interface)
(no doc) [1 implementers]
config.go
CmdFS (Interface)
(no doc) [1 implementers]
truststore/fs.go

Core symbols most depended-on inside this repo

Run
called by 145
ui/driver.go
Activate
called by 136
ui/driver.go
Send
called by 127
ui/driver.go
String
called by 110
component/models/selectors.go
Equal
called by 61
truststore/truststore.go
WaitForGoldenContains
called by 60
ui/uitest/uitest.go
ContextWithConfig
called by 39
cli.go
Golden
called by 36
ui/driver.go

Shape

Method 539
Function 185
Struct 181
TypeAlias 48
Interface 13
FuncType 7

Languages

Go100%

Modules by API surface

api/openapi.gen.go58 symbols
api/api.go52 symbols
config.go34 symbols
lcl/models/setup.go29 symbols
ui/driver.go27 symbols
service/models/env.go25 symbols
cli.go22 symbols
truststore/fs.go21 symbols
org/models/create.go20 symbols
truststore/truststore_test.go17 symbols
lcl/setup.go17 symbols
cli_test.go17 symbols

For agents

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

⬇ download graph artifact