Installation
September 9, 2023 ยท View on GitHub

SWAP
Simple components sharing tool
Installation
pip install swp
Optionnal dependencies
# Linux
apt install tree
# MacOS
brew install tree
Documentation
Swapfile
swap.yaml example:
git@github.com:mathix420/pylone.git:
# name: local_path:remote_path@optionnal_branch_or_commitID
pylone_utils: utils:pylone/utils
git@github.com:vuejs/ui.git:
vue_ui: components/vue_ui:src/components
Commands
swp initWill guide you for creating a new config file.swp treeWill show you the path structure of remotes.swp syncWill by directionnal update of tracked modules/files.swp addWill add the specified path to the swapfile.swp rmWill remove the specified path from the swapfile.swp getWill pull a module/file from a specified remote URL and add it to the swapfile.
More detailed documentation is available here
As
swp syncwill push local updates to remote, I recommand you to fork repositories likevuejs/uito have write rights on thems.