New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

local-wpcli

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

local-wpcli - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

1

app/inquirer.js

@@ -30,3 +30,2 @@ /**

const questions = [
userInput('dockerId', 'input', 'Enter the Docker ID:', 'Please enter the Docker ID of your website.'),
userInput('remoteHostIP', 'input', 'Enter the IP address of the Remote Host:', 'Please enter the IP address of the Remote Host.'),

@@ -33,0 +32,0 @@ userInput('remoteHostPort', 'input', 'Enter the Port of the Remote Host:', 'Please enter the Port of the Remote Host.'),

@@ -22,7 +22,3 @@ /**

if (!files.fileExists(file) || force) {
if (filename === '.dockerid') {
fs.writeFile(file, data.dockerId, (err) => {
if (err) throw err;
});
} else if (filename === 'wp-cli.local.php') {
if (filename === 'wp-cli.local.php') {
fs.writeFile(

@@ -29,0 +25,0 @@ file,

2

app/run.js

@@ -41,3 +41,3 @@ /**

// Config files array.
const config_files = ['.dockerid', 'wp-cli.local.php', 'wp-cli.local.yml'];
const config_files = ['wp-cli.local.php', 'wp-cli.local.yml'];

@@ -44,0 +44,0 @@ // Check if config files already exists.

{
"name": "local-wpcli",
"version": "0.3.1",
"version": "0.4.0",
"description": "A CLI to configure WP-CLI with the websites of Local by Flywheel.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,2 +0,2 @@

# 📦 local-wpcli (WIP)
# ⚡ local-wpcli
A CLI to configure WP-CLI with the locally hosted websites of [Local by Flywheel](https://local.getflywheel.com/).

@@ -16,9 +16,13 @@

2. Type `local-wpcli` & press enter.
3. Before creating the configuration files, it will ask
1. Docker ID of your website.
2. Remote Host IP.
3. Remote Host Port.
4. All done. You're good to go 👍
3. Before creating the configuration files, it will ask for:
1. Remote Host (IP Address)
2. Remote Port
## License & Copyrights
👉 **Note:** You can find *Remote Host* & *Port* in the `DATABASE` tab of the website in Local by Flywheel's desktop app. Please refer to the screenshot below for help.
![](https://cl.ly/ssYK/💯 "Local by Flywheel Screenshot")
## 🎩 License & Attribution
MIT © [Ashar Irfan](https://asharirfan.com).
This project is inspired by [Create Guten Block](https://github.com/ahmadawais/create-guten-block). Thank you [Ahmad Awais](https://twitter.com/MrAhmadAwais) for Create Guten Block. It rocks 🤘
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc