|
1 | 1 | name: seq |
2 | 2 | version: "0.0.0" |
3 | | -author: |
4 | | - - Eric Shimizu Karbstein <gr41.j4ck@gmail.com> |
5 | | - - Francis Murillo <francisavmurillo@gmail.com> |
6 | | -about: "Suspends execution for a NUMBER of SUFFIX time.\nSUFFIX can be 'sec' or 's' for seconds, 'min' or 'm' for minutes, 'hour' or 'h' for hours." |
| 3 | +author: Francis Murillo <francisavmurillo@gmail.com> |
| 4 | +about: "Print a sequence of numbers" |
| 5 | +long_about: > |
| 6 | + Print numbers from FIRST to LAST, in steps of INCREMENT. |
| 7 | +usage: > |
| 8 | +
|
| 9 | + [OPTIONS] <LAST> |
| 10 | +
|
| 11 | + [OPTIONS] <FIRST> <LAST> |
| 12 | +
|
| 13 | + [OPTIONS] <FIRST> <INCREMENT> <LAST> |
7 | 14 | args: |
8 | | - - LAST: |
9 | | - help: Number to set the sleep. If more than one, will sleep the sum of the numbers. |
10 | | - required: true |
11 | 15 | - FIRST: |
12 | | - help: Number to set the sleep. If more than one, will sleep the sum of the numbers. |
13 | | - required: false |
| 16 | + help: > |
| 17 | + The initial number to start the sequence. |
| 18 | + long_help: > |
| 19 | + The initial number to start the sequence. |
| 20 | +
|
| 21 | +
|
| 22 | + This must not be NaN. If omitted, defaults to 1. |
14 | 23 | - INCREMENT: |
15 | | - help: Number to set the sleep. If more than one, will sleep the sum of the numbers. |
16 | | - required: false |
17 | | - - suffix: |
18 | | - help: A optional parameter to set the time measurement to be used. The default is seconds. |
19 | | - long: suffix |
20 | | - short: s |
21 | | - value_name: SUFFIX |
| 24 | + help: > |
| 25 | + The step/increment added after each preceeding number in the |
| 26 | + sequence. |
| 27 | + long_help: > |
| 28 | + The step/increment added after each preceeding number in the |
| 29 | + sequence. |
| 30 | +
|
| 31 | +
|
| 32 | + If FIRST is greater than LAST, this should be a positive |
| 33 | + number; if less than, this should be a negative number. This |
| 34 | + must not be 0 or NaN. If omitted, defaults to 1 even if FIRST |
| 35 | + is greater than LAST. |
| 36 | + - LAST: |
| 37 | + help: > |
| 38 | + The limit of the sequence. |
| 39 | + long_help: > |
| 40 | + The limit of the sequence. |
| 41 | +
|
| 42 | +
|
| 43 | + If the next number in a sequence exceeds above or falls below |
| 44 | + LAST whether STEP is positive or negative respectively, the |
| 45 | + sequence ends. This must not be NaN. |
0 commit comments