Git Product home page Git Product logo

termux-cute-xcute's Introduction

WHAT IS
			Script to launch android apps by keywords.			
	
			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-Launhcer (https://github.com/amsitlab/termuxlauncher)
			Requires (Termux side)
				PHP (install with: pkg install php)

NAME
			xc -  command to execute an app searching by name

SYNOPSIS
			xc -f <searchterm1> [searchterm2] ...
			xc -l 

DESCRIPTION
			xc.phar is a php script to make easier to launch an app within the termux command line, 
			just run the script with some search terms, and if there is only one result, will execute that app
			 
			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
			xc wha -f
				will launch and first app containing "wha" on its name, in my case will open whatsapp
			xc inbursa
				will launch an app called i-movil that app is called com.inbursa.client internally (i hate those apps whose names has nothing to do with what they actually do)
			xc lite
				in my case, will show two apps that contain the name lite (messenger-lite and facebook-lite)
			xc .lite 
				will launch facebook lite

OPTIONS
      Search terms must not have a dash before the word, it's a bug/feature on the library nategood/commando

   General options
			-f --firstmatch
					No matter if there is more than one app with that name, execute the first on the list.
			-V 	--version
					Show version
			-h --help Show basic usage


EXIT STATUS
       0      Successful program execution.

       1      Too many matches, but -f not specified.

       2      No matches.

       3      Something weird happened

HISTORY
			2018 - Pulketo ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.