2.1.1 ā€¢ Published 7 months ago

swiff-2 v2.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

Swiff

npm version

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

šŸš€ Folder push and pull Keep folders in sync between servers

šŸ’« Database push and pull Manage the database between servers (auto backup)

šŸŽ© Composer file push and pull Move composer files between servers (auto backup)

šŸ’» Remote terminal connection Launch a SSH session directly into the remote site/app folder

Getting started

  1. Install Swiff globally with npm: 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

  • Custom SSH identity: Swiff will attempt to use your identity located at: /Users/[currentUser]/.ssh/id_rsa You can specify a custom SSH key path in your .env file with: SWIFF_CUSTOM_KEY="/Users/[your-user]/.ssh/[key-filename]"
  • Gzipped backups: Your files and database get backed up and gzipped whenever they change
  • Disable specific tasks: Specify the tasks to disable with a config setting

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 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

  • Node.js - A JavaScript runtime built on Chrome's V8 JavaScript engine
  • Ink 2 - React for interactive command-line apps
  • Babel - JavaScript transpiling
  • Prettier - Code cleaning

Credits

Sounds by Emoji Sounds Created by @benrogerson and Sam Stevens

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

2.0.3

7 months ago

2.0.2

7 months ago

2.0.5

7 months ago

2.0.4

7 months ago

2.0.6

7 months ago

2.1.1

7 months ago

2.1.0

7 months ago

1.9.29

7 months ago

1.9.28

7 months ago

1.9.27

7 months ago

1.8.2

7 months ago

1.9.26

7 months ago

1.8.1

7 months ago

1.9.25

7 months ago

1.8.0

7 months ago

1.9.24

7 months ago

1.9.23

7 months ago

1.9.22

7 months ago

1.9.21

7 months ago

1.9.20

7 months ago

1.9.61

7 months ago

1.9.60

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.9.19

7 months ago

1.9.18

7 months ago

1.9.17

7 months ago

1.9.16

7 months ago

1.9.59

7 months ago

1.9.15

7 months ago

1.9.58

7 months ago

1.9.14

7 months ago

1.9.57

7 months ago

1.9.13

7 months ago

1.9.56

7 months ago

1.9.12

7 months ago

1.9.55

7 months ago

1.9.11

7 months ago

1.9.54

7 months ago

1.9.10

7 months ago

1.9.53

7 months ago

1.9.52

7 months ago

1.9.9

7 months ago

1.9.51

7 months ago

1.9.8

7 months ago

1.9.50

7 months ago

1.9.7

7 months ago

1.7.9

7 months ago

1.9.6

7 months ago

1.7.8

7 months ago

1.9.5

7 months ago

1.7.7

7 months ago

1.9.4

7 months ago

1.7.6

7 months ago

1.9.3

7 months ago

1.7.5

7 months ago

1.9.2

7 months ago

1.7.4

7 months ago

1.9.49

7 months ago

1.9.1

7 months ago

1.7.3

7 months ago

1.9.48

7 months ago

1.9.0

7 months ago

1.7.2

7 months ago

1.9.47

7 months ago

1.7.1

7 months ago

1.9.46

7 months ago

1.9.45

7 months ago

1.9.44

7 months ago

1.9.43

7 months ago

1.9.42

7 months ago

1.9.41

7 months ago

1.9.40

7 months ago

1.9.39

7 months ago

1.9.38

7 months ago

1.9.37

7 months ago

1.9.36

7 months ago

1.9.35

7 months ago

1.9.34

7 months ago

1.9.33

7 months ago

1.9.32

7 months ago

1.9.31

7 months ago

1.9.30

7 months ago

1.8.9

7 months ago

1.8.8

7 months ago

1.8.7

7 months ago

1.8.6

7 months ago

1.8.5

7 months ago

1.8.4

7 months ago

1.8.3

7 months ago

1.7.0

8 months ago

1.6.12

1 year ago

1.6.11

1 year ago

1.6.10

1 year ago