π Command line tools for common local β remote server tasks.
Fixes mysql bug https://bugs.mysql.com/bug.php?id=109685
swiff
push folder so that project config can be excluded.In swiff.config.js
, instead of
{ pushFolders: [
'config'
]}
We can use
{ pushFolders: [
// The exclude value should be relative to the path
{ path:'config', exclude: "/project/*" },
]}
In swiff.config.js
you can now disable specific tasks in the list by adding the name to the disabled array:
module.exports = {
...
disabled: ['folderPull', 'databasePush', 'composerPush'],
}
This should help you avoid an accidental run on tasks like Database and File pushing.
You can still run any disabled tasks with their flag command. swiff --help
to see the flag list.
I trimmed down the number of flags for each task as it was getting a little cray.
The Ink dependency was updated to latest with a major version jump
This release added a two new push tasks. This means all main tasks now have push and pull options.
π Added push database task - backs up the remote database before replacing it with the local database
π Added push composer task - pushes your composer.json
and composer.lock
files to the remote server. The remote composer.json
is backed up beforehand
π Updated task menu with new items
π Excluded .git
and .DS_Store
from being pushed/pulled
Coming next: Confirmation prompts thatβll help avoid the oopsies.
Some of the flags needed to change to accomodate the new tasks - sorry!
See swiff --help
for the available flags.
A small release to fix some issues. Thanks for the pull requests!