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

Overload range N as N #91

Open
stdedos opened this issue Jun 22, 2021 · 1 comment
Open

Overload range N as N #91

stdedos opened this issue Jun 22, 2021 · 1 comment

Comments

@stdedos
Copy link

stdedos commented Jun 22, 2021

From the wiki https://github.com/duydao/Text-Pastry/wiki/Command-Line-Reference:

Command Arguments Example Result
N M P N: Start number (required)
M: Increment by this number (optional, default: 1))
P: Number of left-padding zeroes (optional, default: 0)
1 1 0 1|
2|
3|
range START END START: the start number
END: the end number
range 5 7 5|
6|
7|
5|
6|
7\

Would you consider overloading range N as N?
"Maybe I should learn" the language you are defining; however, it sounds more intuitive for me to write range 7 than 7, since all of the other commands have a starting verb. (also, range 7 does nothing right now)

@duydao
Copy link
Owner

duydao commented Jun 29, 2021

This sounds reasonable :)

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

No branches or pull requests

2 participants