mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 12:15:29 +00:00
feat: add methods to backup and restore Python environment
This commit is contained in:
3
fish/functions/pythonBackup.fish
Normal file
3
fish/functions/pythonBackup.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function pythonBackup --description "Python backup"
|
||||
pip freeze > ~/.dotfiles/python/pip-requirements.txt
|
||||
end
|
||||
3
fish/functions/pythonRestore.fish
Normal file
3
fish/functions/pythonRestore.fish
Normal file
@@ -0,0 +1,3 @@
|
||||
function pythonRestore --description "Install Python packages"
|
||||
pip install -r ~/.dotfiles/python/pip-requirements.txt
|
||||
end
|
||||
Reference in New Issue
Block a user