Home

Awesome

Swiff

npm version

Swiff saves you time with common SSH tasks during the development of websites/apps

🚀 Folder push and pull<br> Keep folders in sync between servers

💫 Database push and pull<br> Manage the database between servers (auto backup)

🎩 Composer file push and pull<br> Move composer files between servers (auto backup)

💻 Remote terminal connection<br> Launch a SSH session directly into the remote site/app folder

Getting started

  1. Install Swiff globally with npm:<br> npm install --global swiff

  2. Run swiff within a project folder to start the task interface

Run swiff --help for a list of flags to run a specific task

Additional features

Requirements

Swiff requires MySQL to use the database features. We recommend using MariaDB, an enhanced, drop-in replacement for MySQL. brew install mariadb@10.2 (latest as of April 2019)

For the Database & Composer tasks, a PEM format SSH key is required<br> Read about how to create and add a new SSH key

Running Windows or Linux? Swiff has been tested on macOS so issues are likely on other operating systems

Technology

Credits

Sounds by Emoji Sounds<br> Created by @benrogerson and Sam Stevens

Swiff has been agency battletested by Simple who specialise in Craft CMS websites