#odd #command-line-tool #numbers #unix #line-numbers #generate #check

app isevenorodd

A simple command line tool to generate a rust function to check if a number is even or odd

1 unstable release

0.1.0 Jan 17, 2024

#2373 in Command line utilities

MIT license

680KB
33K SLoC

isevenorodd

A simple command line tool to generate a rust function to check if a number is even or odd.

Usage

Create an function that goes from 0 to 100 and checks if the number is even or odd.

isevenorodd 100

If you want to start from a specific number, you can do so by passing the number in the start flag

isevenorodd 100 -s 10

or

isevenorodd 100 --start 10

Dependencies

~1.1–1.7MB
~32K SLoC