Skip to content

Command Request: which [app name] #452

@Thomas-Duggan

Description

@Thomas-Duggan

I would like to request the following command for Yantra Launcher:

Command name:

which [app name]

Description:

Lists all installed apps with the specified app name.

Example 1:

which Messages
Fetching apps...
Found 2 apps


  • Messages (com.samsung.android.messaging)
  • Messages (com.google.android.apps.messaging)

Example 2:

which Authenticator
Fetching apps...
Found 2 apps


  • Authenticator (com.google.android.apps.authenticator2)
  • Authenticator (com.azure.authenticator)

Extra Information:

This would be really useful for people, like me, who have multiple apps with common names, want to look for its package name, and don't want to search though their massive app list to find it.

Implementation shouldn't be too difficult as well, as most code should be able to be taken from the list command. However, I have a suspicion that the list command does not have a failsafe for a phone with zero apps installed. This "which" command will need that failsafe in the event the user types an app name they do not have installed / misspells an app name.

Failsafe reccomendation:

which abc xyz
Fetching apps...
'abc xyz' not found. Check your spelling, or use 'list apps' to get list of all app names.

Thank you for considering my command request.

  • Thomas

Edit: I just found out that the proper linux command is actually "find [app name]".
With that in mind, either one works with me.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions