Skip to content

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 👌 ​

Author đŸĻ‹ ​