Athena
Athena is a CLI tool to help with OS management for developers.
It is a WIP project, bladly written and will be rewritten while I'm working on it. Read the code at your own risks.
It only works on Unix based operating systems right now.
Commands
Backup ZSH
You can backup your zsh
config files using the command athena backupzsh
. It will be stored as a private GitHub Gist.
The GitHub token flag -t
is required.
So the command looks like this : athena backupzsh -t my_token
.
The files will be retrieved from your home directory.
.zshrc
required (the command will fail if not present in your home directory)
.zprofile
optional
.profile
optional
Restore ZSH
You can restore your zsh
config files using the command athena restorezsh
. It will be retrieved from your gists.
The GitHub token flag -t
is required.
The Gist ID flag -g
is optional.
So the command looks like this : athena backupzsh -t my_token [-g my_gist_id]
.
If you specify a Gist ID, it will be retrieved from this specific Gist. If you don't, it will list all the backups done using Athena and let you pick one.
License
MIT License. See LICENSE file.