Skip to content

Commit e2f35e5

Browse files
authored
Updated CLI for ssn, Updated Readme for ssn, added user_agent, userAgent and ssn to help command (#84)
1 parent e12df33 commit e2f35e5

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ TODO list.
9999
- [o] faker.provider.phone_number
100100
- [ ] faker.provider.profile
101101
- [ ] faker.provider.python
102-
- [ ] faker.provider.ssn
102+
- [o] faker.provider.ssn
103103
- [o] faker.provider.user_agent
104104

105105
API document

src/faker/cli/faker.nim

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Avairable subcommand:
1919
phone_number, phoneNumber
2020
job
2121
name
22+
user_agent, userAgent
23+
ssn
2224
2325
Avairable locale:
2426
en_US
@@ -43,6 +45,7 @@ proc main(args: seq[string]): int =
4345
of "job": echo fake.job()
4446
of "name": echo fake.name()
4547
of "user_agent", "userAgent": echo fake.userAgent()
48+
of "ssn": echo fake.ssn()
4649
of "-h", "--help": echo usage
4750
else:
4851
stderr.writeLine subcmd & " is not supported."

0 commit comments

Comments
 (0)