Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call command arguments #189

Open
Qutition opened this issue Sep 2, 2024 · 4 comments
Open

call command arguments #189

Qutition opened this issue Sep 2, 2024 · 4 comments

Comments

@Qutition
Copy link

Qutition commented Sep 2, 2024

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

[COMMAND] call -n (number) / call (contact/number) / call -c (contact)

[DESCRIPTION] call command arguments

[EXAMPLE] call -n 123456 / call BestContact / call 123456 / call -c BestContact

[ANYTHING ELSE] it should make calls faster, cuz it no need to search a name when a -n argument is present

@coderGtm
Copy link
Owner

coderGtm commented Sep 2, 2024

It won't increase the speed in case of normal contacts as it is mainly dependent on the search algorithm (which needs to be optimized) and the overall mechanism. Although it will make calling numbers faster.

@Qutition
Copy link
Author

Qutition commented Sep 2, 2024

About contacts - that true, but I listed it because I think it will be better if there just a number argument and contact one

@coderGtm
Copy link
Owner

coderGtm commented Sep 2, 2024

We can add a number argument to parse as a number. Otherwise it will pass as contact name when no argument is given

@Qutition
Copy link
Author

Qutition commented Sep 3, 2024

That's actually cool! @coderGtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants