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

Add/allow arguments in commands #22

Merged
merged 4 commits into from
Dec 18, 2023
Merged

Conversation

elkinaguas
Copy link
Owner

This pull request adds support for arguments in commands.

To add an argument to a command, just add un underscore in front of the argument. When you run the command with clir, it will ask you to input the commands you specified.

Example:
commad : echo _text ; echo _text2 ; echo text3

Prompt after running the command with clir:

Enter value for '_text': hola
Enter value for '_text2': mundo
Running command: echo hola ; echo mundo ; echo text3
hola
mundo
text3

@elkinaguas elkinaguas merged commit f0c5c7a into main Dec 18, 2023
13 checks passed
@elkinaguas elkinaguas deleted the add/allow_arguments_in_commands branch December 18, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant