bash with wp-cli to install missing plugins

Job ID: 37079917

Budget: $10 – $50 USD

you are master of workdpress wp-cli usage?

We look for a wp-cli & bash developer who can implement us a bash script.

required functions in Milestones

MS1:

function activatePluginSkipAlreadyActive() {
pluginName = $1
..
# checks if plugin is already active, if skip
# else activate
}

function activatePluginFailAlreadyActive() {
pluginName = $1
..
# checks if plugin is already active, if active fail
# else activate
}

function installMissingPluginSkipAlreadyInstalled() {
pluginName = $1
..
# checks if plugin is already installed => if installed, skip
# else install
}

function installMissingPluginFailAlreadyInstalled() {
pluginName = $1
..
# checks if plugin is already installed => if installed, fail
# else install,
}

function installMinimalPluginSet() { // receives a set/list of plugins
# installs the plugins
}

function activateMinimalPluginSet() { // receives a set/list of plugins
# activates the plugins
}

function installAndActivateMinimalPluginSet() { // receives a set/list of plugins
# installes and activates the plugins
}


MS2:

function deinstallPluginSkipAlreadyDeinstalled() {
pluginName = $1
..
# checks if plugin is installed => if installed, deinstall
# else skip
}

function deinstallPluginFailAlreadyDeinstalled() {
pluginName = $1
..
# checks if plugin is installed => if installed, deinstall
# else fail
}

function reinstallMissingPluginFailIfNotAlreadyInstalled() {
pluginName = $1
..
# checks if plugin is already installed
# if installed, deactivate, deinstall, install
# if not installed => fail
}

function reinstallMissingPluginSkipIfNotAlreadyInstalled() {
pluginName = $1
..
# checks if plugin is already installed
# if installed, deactivate, deinstall, install
# if not installed => skip deactivate & deinstall => install only
}

function listUnknownActivePlugins() { // gets a list of plugins
# fetch all installed and active plugins, which are not in the passed list/set
}

function listUnknownInstalledPlugins() { // gets a list of plugins
# fetch all installed plugins, which are not in the passed list/set
}

provide a bash script for testing each of the functions

If you are a good fit, you are open to get more tasks about implementing solutions fully on your own (e.g. with your team)

Budget?
will not be disclosed, place your best bid to get considered

What is next?
We will share you a NDA and afterwards a paid test task.

Payment?
- you estimate in a WBS (optimistic, expected, pessimistic, where optimistic < expected < pessimistic) after getting the task
- we discuss about clearances and effort
- we mutually agree to effort
- we assign you the task after mutually agreed
- you implement & delivery
- we test on our premise
- we pay on success
(basically the rules of freelancer)

Closed book vs open book?
We work only on open book.
Closed book means you are unwilling to define a WBS for the work and you add only a price tag to the task.
We are sorry we will not hire you in such a case!

Deliveries?
- in our on premise git (access will be granted to you)
- full sources
- libs, need prior confirm and we prefer to use mostly latest stable versions
- works on ubuntu 20.04+
- your code is working at our end
Related categories: PHP Linux WordPress Bash Scripting