About apipackage ✍
Few examples:
- Install apipackage project
- Install letpath package
git clone https://github.com/apipackage/example
Install apipackage ✍
install dependencies from file: apifork.txt
./apifork install
OR for development
./apifork install apifork.dev.txt
install packages and build for apipackage from file: apipackage.txt
./apipackage.sh install
OR
We are working on apipackage folder
cd apipackage
install packages inside apipackage
cd apifork
./add https://github.com/letwhois/bash bash letwhois
./add https://github.com/reactphp/dns php reactphp
Start apipackage ✍
Test default functions
cat ../scripts/example2.txt
http("https://www.rezydent.de/").xpath("title");
./apipackage.sh ../scripts/example2.txt
www | Rezydent Podatkowy Niemiec
Install letpath package to apipackage project in /apipackage/bash/letpath
./add.sh https://github.com/letpath/bash bash letpath
cd apipackage
cat ../scripts/example7.txt
http("https://www.rezydent.de/").letpath.tag("title");
./apipackage.sh ../scripts/example7.txt
check from command
./apipackage.sh 'http("https://www.rezydent.de/").letpath.tag("title")'
./apipackage.sh 'letpath.tag("title")'
get whois data
./apipackage.sh 'letwhois.ns("softreck.com")'
./apipackage.sh 'letwhois.reverseIp("8.8.8.8")'
get ip from domain host
./apipackage.sh 'letwhois.domainIp("softreck.com")'
./apipackage.sh 'nslookup("softreck.com")'
./apipackage.sh ../scripts/example7.txt
www | Rezydent Podatkowy Niemiec
remove letpath package from apipackage project in /apipackage/bash/letpath
./del.sh bash letpath
Contribution ✍
Solutions for development:
Install dependencies after created project
curl https://raw.githubusercontent.com/apifork/bash/main/apifork.sh -o apifork
echo "https://github.com/flatedit/bash.git flatedit" > "apifork.dev.txt"
./apifork install apifork.dev.txt
Install package list after created project
curl https://raw.githubusercontent.com/apipackage/bash/main/apipackage.sh -o apipackage
echo "https://github.com/letwhois/bash apidsl/apidsl/bash letwhois" >> "apipackage.txt"
./apipackage install
Edit documentation with flatedit
echo "./DOCS/MENU.md" >> "flatedit.txt"
echo "./DOCS/ABOUT.md" >> "flatedit.txt"
echo "./DOCS/FOOT.md" >> "flatedit.txt"
./flatedit
Config project file
The config file: .apifork can be another, e.g. projects.txt
Just change the first line in .apifork on projects.txt
projects.txt
minsungson/GitHub-cURL: A guide to installing files from GitHub repos in terminal using cURL
./apifork install
OR
./apifork
./apifork update
./apifork remove
- scripts
- language