https://github.com/icholy/findexports
https://github.com/icholy/findexports
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/icholy/findexports
- Owner: icholy
- Created: 2022-01-13T15:36:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-18T22:55:54.000Z (over 4 years ago)
- Last Synced: 2025-01-30T03:13:24.822Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Find Exports
Parse a shell script and output all export declarations in an easy to read format.
## Usage Example
``` sh
$ findexports ~/.bashrc
PATH=$PATH:/usr/local/go/bin
PATH=$PATH:/home/icholy/go/bin
PATH=$PATH:/usr/local/swift/swift-5.5.2-RELEASE-ubuntu20.04/usr/bin
PATH=$PATH:/usr/local/lua-language-server/bin
NVM_DIR="$HOME/.nvm"
```
## Install
```
$ go install github.com/icholy/findexports@latest
```
## Notes:
* This output format is compatible with [env-cmd](https://www.npmjs.com/package/env-cmd).
* This output can be pasted directly into the InteliJ env variable table.