GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xfetch-cli/commands: Official xfetch command addons — installable CLI commands backed by WebAssembly

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
commands/github
commands/github
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.json
index.json
 
 

Repository files navigation

xfetch commands

Official command addons for the xfetch ecosystem. Command addons expose extra CLI commands that are installed and run through xfetch.

Usage

xfetch command install github
xfetch run github -- rust-lang/rust
xfetch run github -- https://github.com/rust-lang/rust

Command output is plain text with one field per line. Use xfetch run github --render -- owner/repo to pass the lines through the core layout and logo.

Catalog

index.json is the command catalog consumed by xfetch command search and xfetch command install. Each entry points to a source directory with an xfetch-command.json manifest and a WebAssembly build.

Add a command

  1. Create commands/<name> with an xfetch-command.json manifest, kind: "command", runtime: "core" and an HTTP/exec/fs allowlist if needed.
  2. Implement the JSON request / plain-text response protocol. Rust guests can use xfetch-guest-api 0.3.1; xfetch-command-api 0.3.1 is also available on crates.io for shared command protocol types.
  3. Build to wasm32-wasip1, add the catalog entry and open a PR.

Security

  • Wasm commands run under the xfetch wasm policy; capabilities are deny-by-default.
  • Native commands are unsandboxed and trusted code.
  • Never write logs to stdout; use stderr for diagnostics.

About

Official xfetch command addons — installable CLI commands backed by WebAssembly

Resources

Readme
MIT license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.