1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
```bash
cargo install idsmith
```
Use the `validate` command to check if a code is checksum and format correct.
```bash
idsmith validate iban DE47508562162522867909
idsmith validate id 446-72-2445 --country US
idsmith validate card 5590133141634919
idsmith validate account 167078019952865929 --country MX
idsmith validate swift PBIHNLY9XXX
idsmith validate license A123456789012 --country US
idsmith validate tax ABCDE1234F --country IN
idsmith validate passport 123456789 --country US
```
Generate any identifier using subcommands. Use the optional count positional argument.
```bash
idsmith iban DE 5
idsmith account 3 --country US --json -
idsmith card --brand amex
idsmith id 10 --country BR
idsmith company 5 --country GB
idsmith swift 3 --country US
idsmith license 5 --country US
idsmith tax 3 --country IN
idsmith passport 10 --country DE
```
```bash
idsmith iban DE 5
idsmith iban DE 5 --json -
idsmith iban DE 5 --csv -
idsmith iban DE 100 --json output.json
idsmith iban DE 100 --csv output.csv
```
```bash
idsmith id 5 --country EE --gender male
idsmith id 5 --country EE --year 1990
idsmith account 5 --country US --bank-code 021000021
idsmith card 5 --brand visa
```