MCPcopy Index your code
hub / github.com/ankddev/envfetch

github.com/ankddev/envfetch @v2.1.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.1.2 ↗ · + Follow
251 symbols 666 edges 12 files 40 documented · 16% updated 6mo agov2.1.2 · 2025-04-08★ 5012 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

envfetch

Lightweight cross-platform CLI tool for working with environment variables
<a href="https://github.com/ankddev/envfetch/actions/workflows/ci.yml"><img src="https://github.com/ankddev/envfetch/actions/workflows/ci.yml/badge.svg" alt="Test status"/></a>
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/w/ankddev/envfetch">
<a href="https://app.codecov.io/github/ankddev/envfetch"><img src="https://camo.githubusercontent.com/24e6fbb5fab320f1c87a360fcdf93b0901a6fc04fe0cb070a4083346c7946680/68747470733a2f2f636f6465636f762e696f2f67682f616e6b646465762f656e7666657463682f67726170682f62616467652e7376673f746f6b656e3d37325138463858574b51" /></a>
<a href="https://crates.io/crates/envfetch"><img src="https://img.shields.io/crates/d/envfetch" alt="crates.io downloads"/></a>
<a href="https://crates.io/crates/envfetch"><img src="https://img.shields.io/crates/v/envfetch" alt="crates.io version"/></a>
<a href="https://aur.archlinux.org/packages/envfetch"><img src="https://img.shields.io/aur/version/envfetch" alt="AUR version"/></a>






<img src="https://github.com/user-attachments/assets/261ea1fd-438a-40b0-847d-6a460b7a30a9" />

Features

  • [x] Print list of all environment variables
  • [x] Get value of variable by name
    • [x] Show similar variables if given variable not found
  • [x] Set variable (temporary and permanent)
  • [x] Delete variable (temporary and permanent)
  • [x] Load variables from dotenv-style file (temporary and permanent)
  • [x] Add string to the end of variable (temporary and permanent)
  • [ ] Set and delete multiple variables at once
  • [x] Interactive mode
  • [ ] Export variables
  • [x] Configuration support

Get started

Installing

Packaging status

Read about installing envfetch in the Wiki.

Using

Read in Wiki.

Configuration

Read in this Wiki page

Contributing and building from source

Read in this Wiki page

See Also

Core symbols most depended-on inside this repo

init
called by 35
src/commands.rs
handle_add_mode
called by 28
src/interactive/controller.rs
handle_list_mode
called by 16
src/interactive/controller.rs
handle_edit_mode
called by 14
src/interactive/controller.rs
run
called by 13
src/utils.rs
run_command
called by 13
src/commands.rs
show_message
called by 11
src/interactive/state.rs
set_variable
called by 9
src/variables.rs

Shape

Function 225
Class 11
Method 10
Enum 5

Languages

Rust100%

Modules by API surface

src/commands.rs60 symbols
src/interactive/controller.rs35 symbols
src/interactive/tests.rs32 symbols
src/config.rs21 symbols
tests/cli.rs19 symbols
src/utils.rs19 symbols
src/main.rs17 symbols
src/variables.rs15 symbols
src/models.rs14 symbols
src/interactive/view.rs8 symbols
src/interactive/state.rs8 symbols
src/interactive.rs3 symbols

For agents

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

⬇ download graph artifact