Skip to main content

Simple components sharing tool

Project description


Simple components sharing tool


pip install swp

Optionnal dependencies

# Linux
apt install tree

# MacOS
brew install tree


swap.yaml example

  components: components/shared
remote-directory: ./src
version: 1

This config example will create a directory on your project called shared in the components subfolder.

In this folder will apear all the files from the vuejs/ui repository.


  • swp init Will guide you for creating a new config file.
  • swp tree Will show you the path structure of the repo.
  • swp pull Will git pull the remote repository and apply the config to copy files into your project.
  • swp push Will commit and push the changes you made on all swapped files/folders, we recommand you to Fork repositories like vuejs/ui to have write rights.
  • swp add Will create a new shared path.
  • swp rm Will delete a shared path.
  • swp get Will get a new path from dist repo.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swp-0.1.4.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

swp-0.1.4-py3-none-any.whl (5.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page