این همون bash script عه که بهش class support هم اضافه کردن. ینی میتونید باهاش object oriented به اسکریپت نویسی بپردازید :
https://bpp.sh
#bash #linux
@class Bashpp {
@public author="Andrew S. Rightenburg"
@public source="https://github.com/rail5/bashpp"
@public license="GNU GPL v3"
@public @method printInfo {
echo "Bash++ is a superset of Bash that adds support for classes and objects."
echo "It's meant to be a simple way to add object-orientation to Bash scripts."
echo "Author: @this.author"
echo "Source: @this.source"
echo "License: @this.license"
}
}
@Bashpp myBashpp
@myBashpp.printInfo
https://bpp.sh
#bash #linux
GitHub
GitHub - rail5/bashpp: Bash++: Bash with classes
Bash++: Bash with classes. Contribute to rail5/bashpp development by creating an account on GitHub.
🔥8