bash-sdk đĨ â
A bash library to create standalone scripts.
Features ⨠â
There are some features of bash-sdk are mentioned here.
- OOPS like code đ.
- Module based code đī¸.
- Similar functions to python đ.
- Standalone script creation đ.
Beauty đĩī¸ â
Checkout the ui of this cli project here.
General đˇ â
There are some rules or things to keep in mind while using this library.
The rules are mentioned here.
Installation đ â
Just clone it to anywhere.
sh
git clone --depth=1 https://github.com/OurCodeBase/bash-sdk.git
Modules đ â
These are the modules created in bash-sdk library. You can read about their functions by clicking on them.
Structure đī¸ â
File structure of bash-sdk is like:
sh
bash-sdk
âââ docs # docs for bash-sdk.
âââ _uri.sh # helper of builder.
âââ builder.sh
âââ src
âââ ask.sh
âââ cursor.sh
âââ db.sh
âââ file.sh
âââ inspect.sh
âââ os.sh
âââ package.sh
âââ repo.sh
âââ say.sh
âââ screen.sh
âââ spinner.sh
âââ string.sh
âââ url.sh
Compiler đ§ â
Compiler does combine all codes in a standalone bash file.
sh
bash builder.sh -i "path/to/input.sh" -o "path/to/output.sh";
- input file is the file that you are going to compile.
- output file is the standalone result file.
Then you can directly execute output file without bash-sdk library.
Queries đĸ â
If you have any questions or doubt related to this library you can directly ask everything here.
Suggestion đ â
- bash-lsp to your code editor to get auto completions.
- shellcheck to debug bash code.
- cooked.nvim code editor to get best compatibility.
Author đĻ â
- Created By @OurCodeBase
- Inspired By @mayTermux