Skip to content

Commit f3cb698

Browse files
committed
Improve README
1 parent 10ee398 commit f3cb698

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ Python 3.7+
1212

1313
## Installation
1414

15+
```
1516
pip3 install find-gcp-keys
17+
```
1618

1719
## Usage
1820

@@ -24,7 +26,7 @@ find_gcp_keys <dir_path>
2426

2527
As a library:
2628

27-
```
29+
```py
2830
from find_gcp_keys import find_key_paths, find_valid_keys, is_valid_key
2931
...
3032

@@ -33,10 +35,10 @@ if is_valid_key(file_path):
3335
...
3436

3537
# recursively search for valid keys
36-
for path in find_valid_keys(dir_path):
38+
for file_path in find_valid_keys(dir_path):
3739
...
3840

3941
# recursively search for possible keys, but don't validate them
40-
for path in find_key_paths(dir_path):
42+
for file_path in find_key_paths(dir_path):
4143
...
4244
```

0 commit comments

Comments
 (0)