awslabs / awslabs/aws-shell

Refactor creation of the ~/.aws/shell/ directory

Open
#65 0 comments 0 reactions 1 assignee Claimed by @jamesls View on GitHub
enhancement
Dominant language
Python
Stars
7.3k
Forks
780
PR merge metrics
No merged PRs in 30d

Description

> We might want to consolidate the places where we create the ~/.aws/shell/ directory (and sub directories). I count four separate locations now in the codebase (including this new call) where we are calling os.makedirs.

As initially discussed in https://github.com/awslabs/aws-shell/pull/62.

When we do consolidate it seems cleaner to go with the try/catch approach vs the check/create approach. Here's a good [StackOverflow post](http://stackoverflow.com/a/5032238) with details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.