Skip to content

Overload range N as N #91

@stdedos

Description

@stdedos

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions