Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate parts of sharpen list and log output #118

Open
jonallured opened this issue Jun 4, 2019 · 1 comment
Open

Automate parts of sharpen list and log output #118

jonallured opened this issue Jun 4, 2019 · 1 comment

Comments

@jonallured
Copy link
Owner

There are parts of the sharpening process that I could easily automate - things like updating brew and installing the latest vim plugins. What would make this even better would be to capture the output from those commands and add them as an issue comment. I've been poking at this today and here's some things I've found out:

jon@magneto:~/code/dotfiles(master+)% tmutil latestbackup
/Volumes/LACIE SETUP/Backups.backupdb/magneto/2019-06-04-104806
jon@magneto:~/code/dotfiles(master+)% bat issue.json --plain                                             
{
  "body": "hello from file"
}
10:59:43
jon@magneto:~/code/dotfiles(master+)% hub api repos/jonallured/dotfiles/issues/115/comments --input issue.json

So with something like verifying the latest timemachine backup, I could use the tmutil to find the latest backup, compare it's timestamp to now and then log that to issue. 😎

@jonallured
Copy link
Owner Author

Made some progress on this over here: https://github.com/jonallured/dotfiles/tree/sharpen-output. Still need to actually get the contents of that file up into the issue, but getting closer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant