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