pulketo / termux-cute-call Goto Github PK
View Code? Open in Web Editor NEWcall a contact by his/her name or part of number, or just show the contact on the green console ;)
call a contact by his/her name or part of number, or just show the contact on the green console ;)
WHAT IS Script to call a person on your contact list by his/her name on Termux. This script is intended to be run on termux emulator (which is a Terminal emulator and Linux environment for Android) Requires (Android side): Termux (play store) Termux:API (play store) Requires (Termux side) PHP (install with: pkg install php) NAME pcall - command to call a contact searching by name SYNOPSIS pcall -f -s -p -v [searchterm1] [searchterm2] ... DESCRIPTION pcall is a php script to make easier to call a contact within the termux command line, just run the script with some search terms, and if there is only one result, will call your contact all human output goes to stderr and json output goes to stdout useful if you want to pipe it to jq to prettyfy or extra processing. It's straighforward to use, if you have a suggestion, please send it to: pulketo at G.mail EXAMPLES pcall john doe -f will call the (-f)irst john doe on your list pcall john doe 551 will show john doe with 551 on the name/number, execute termux-call if there is just one match, or show a list if there is more than one. pcall john doe -f -p +521 will call John Doe but dial a prefix before the number. OPTIONS Search terms must not have a dash before the word, it's a bug/feature on the library nategood/commando General options -f --callthefirst No matter if there is more than one, call the first on the list. -s --simcall Just show the command to make the call, no call will take place. -p --prefix A dial prefix, some countries when you are out of your city, you should dial some numbers at the beginning. -v --version Show version -c --call (deprecated, calling if there is one match is the default now) If there is one and only one match, call him/her. EXIT STATUS 0 Successful program execution. 1 Too many matches, but -f not specified. 2 No matches. 3 Something weird happened HISTORY 2018 - Pulketo ;)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.