Skip to content

felipesauer/safe-access-inline-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Safe Access Inline logo

@safe-access-inline/cli

Query, transform, and manipulate data files from the terminal — 14 commands, 8 formats, piping support.

CLI CI npm node MIT

Documentation · CLI Reference · Guide


Install

npm install -g @safe-access-inline/cli

Usage

safe-access get config.json "user.name"
safe-access get data.yaml "items.*.price"                        # wildcard
safe-access set config.json "user.email" "a@b.com" --to json     # set & output
safe-access transform config.yaml --to json --pretty              # convert formats
safe-access diff config.json config-updated.json                  # structural diff
safe-access mask config.json --patterns "password,secret,api_*"   # redact secrets
safe-access layer defaults.yaml overrides.json --to json          # merge layers
echo '{"a":1}' | safe-access get - "a"                           # stdin piping

Documentation

Full command reference, piping examples, CI/CD recipes, and exit codes: safe-access-inline CLI docs →

About

CLI for safe dot-notation access • Query, transform, mask & manipulate JSON/YAML/TOML files • Built on safe-access-inline • Global npm tool

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors