lighthouse/common/account_utils
realbigsean b69c63d486 Validator dir creation (#1746)
## Issue Addressed

Resolves #1744

## Proposed Changes

- Add `directory::ensure_dir_exists` to the `ValidatorDefinition::open_or_create` method 
- As @pawanjay176 suggested, making the `--validator-dir` non-global so users are forced to include the flag after the `validator` subcommand. Current behavior seems to be ignoring the flag if it comes after something like `validator import`

## Additional Info
N/A
2020-10-08 21:01:32 +00:00
..
src Validator dir creation (#1746) 2020-10-08 21:01:32 +00:00
Cargo.toml Validator dir creation (#1746) 2020-10-08 21:01:32 +00:00