BenEgeIzmirli / Whittler

MIT License
7 stars 2 forks source link

Add slice support to "show" command, and others #5

Open BenEgeIzmirli opened 3 years ago

BenEgeIzmirli commented 3 years ago

The "show" command takes an optional integer argument, which is interpreted as the number of results to show. It would be ideal if it instead interpreted its argument as a python slice object, which would allow users to specify negative indices, specific ranges of elements, and skips.