ctx

package module
v0.0.0-...-073b321 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2026 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package ctx is the context manager as a library: Run is the whole command, so the installed CTX package and other Go hosts run the same code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(args []string, stdout, stderr io.Writer) int

Run executes the ctx command with args (without the program name), writing to stdout and stderr, and returns the process exit code.

func Version

func Version() string

Version is the version this build of ctx reports.

Types

This section is empty.

Directories

Path Synopsis
internal
adapterenv
Package adapterenv prepares CTX-owned adapter invocation metadata.
Package adapterenv prepares CTX-owned adapter invocation metadata.
adaptersnapshot
Package adaptersnapshot owns CTX's per-invocation adapter copies.
Package adaptersnapshot owns CTX's per-invocation adapter copies.
app
app/browserhost
Package browserhost connects the portable browser resource to CTX's installed and trusted adapter store.
Package browserhost connects the portable browser resource to CTX's installed and trusted adapter store.
graphapi
Package graphapi supplies CTX's storage and library-location policy.
Package graphapi supplies CTX's storage and library-location policy.
program
Package program checks declared software locations, finds executables by name and joins what different sources report about the same file.
Package program checks declared software locations, finds executables by name and joins what different sources report about the same file.
This is the private entrypoint of the installed CTX ext package.
This is the private entrypoint of the installed CTX ext package.

Jump to

Keyboard shortcuts

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