Shell Utils is a collection of scripts designed to streamline and automate day-to-day development tasks. This project includes scripts written in Shell, Python, and TypeScript to improve productivity for developers.
- Ensure you have the following installed:
- Shell: Bash or equivalent terminal
- Python: Version 3.x and pip
- Node.js: Version 16.x or higher (for TypeScript scripts)
git clone https://github.com/devgrunge/shell_utils.git
cd shell_utils
Shell scripts are located in the bash_scripts
folder.
- Script:
bash_scripts/export_env_vars.sh
- Description: Exports environment variables from a service and formats them as
key=value
. - Usage:
chmod +x bash_scripts/export_env_vars.sh ./bash_scripts/export_env_vars.sh
Python scripts are located in the python_scripts
folder.
- Script:
python_scripts/csvtojson.py
- Description: Converts a CSV file to a JSON file.
- Usage:
python python_scripts/csvtojson.py input.csv output.json
TypeScript scripts are located in the node_scripts
folder.
- Script:
node_scripts/json-to-postman/index.ts
- Description: Converts a JSON file into a format compatible with Postman collections.
- Usage:
- Install dependencies:
cd node_scripts/json-to-postman npm install
- Run the script:
npm start input.json output.postman.json
- Install dependencies:
We welcome contributions! Follow these steps to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Add your message here"
- Push to your branch:
git push origin feature/your-feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.