Run as Command
randog can be used as a command. The basic command format is as follows:
randog <MODE> ...
Specify MODE according to the values you want to generate, and specify further arguments to specify more detailed conditions.
Modes
The following modes are available for command execution. Arguments and options available for each mode are described on the detail page for each mode.
mode |
value type |
command example |
output example |
detail |
---|---|---|---|---|
bool |
|
|
|
|
int |
|
|
|
|
float |
|
|
|
|
str |
|
|
|
|
bytes |
|
|
binary data |
|
decimal |
|
|
|
|
datetime |
|
|
|
|
date |
|
|
|
|
time |
|
|
|
|
timedelta |
|
|
|
|
ipv4 |
|
|
|
|
dice |
|
|
|
|
byfile |
according to
the definition file
|
|
according to
./factory_def.py
|
Arguments and Options
For mode-specific arguments and options, see the detailed page for each mode.
Several options can be used in any mode; see also: