Skip to main content

Simple components sharing tool

Project description

SWAP

Simple components sharing tool

Installation

pip install swp

Optionnal dependencies

# Linux
apt install tree

# MacOS
brew install tree

Usage

swap.yaml example

components:
  components: components/shared
remote: git@github.com:vuejs/ui.git
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.

Commands

  • 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 Python 3

Supported by

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