ericadamski / ericadamski/commit-with

Remove stale cache

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue hacktoberfest help wanted
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently when a `commit-with` is run it caches a commit template to use when committing with the same person again. If a new version is released that adds/removes from that file it should get overwritten

## Possible solution

A possible way to do this is to add some meta data to each template about when it was created and what version was used to create it. Then we can have rules like, if you are older than `n` days or the CLI version is different re-write the file.

Could make use of `commander` options, eg.

```
commit-with -f|--force ericadamski
```

which force writes the template file

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.