Return a path for the ${pwd}/.env file. If pwd does not exist, return None.
()
| 18 | |
| 19 | |
| 20 | def enumerate_env(): |
| 21 | """ |
| 22 | Return a path for the ${pwd}/.env file. |
| 23 | |
| 24 | If pwd does not exist, return None. |
| 25 | """ |
| 26 | try: |
| 27 | cwd = os.getcwd() |
| 28 | except FileNotFoundError: |
| 29 | return None |
| 30 | path = os.path.join(cwd, '.env') |
| 31 | return path |
| 32 | |
| 33 | |
| 34 | @click.group() |
nothing calls this directly
no outgoing calls
no test coverage detected