https://github.com/djui/iq
INI file query tool
https://github.com/djui/iq
cli go golang ini ini-parser
Last synced: 4 months ago
JSON representation
INI file query tool
- Host: GitHub
- URL: https://github.com/djui/iq
- Owner: djui
- Created: 2018-09-09T18:25:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-09T20:28:53.000Z (almost 8 years ago)
- Last Synced: 2025-12-18T00:27:48.025Z (6 months ago)
- Topics: cli, go, golang, ini, ini-parser
- Language: Go
- Size: 85.9 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iq
INI file query tool.
## Installation
$ brew install https://raw.githubusercontent.com/djui/iq/master/iq.rb
or
$ go get github.com/djui/iq
## Usage
$ echo "[section]\nkey = value\n" | iq section.key -
value
$ iq section.key file.ini
value
$ export AWS_ACCESS_KEY_ID=$(iq default.aws_access_key_id ~/.aws/credentials)
$ export AWS_SECRET_ACCESS_KEY=$(iq default.aws_secret_access_key ~/.aws/credentials)