WPEnv Console is a command-line tool that extends the functionality of the WPEnv WordPress development environment. It provides a set of convenient commands to simplify common development tasks when working with WordPress projects. Below is a list of available commands:
Backup the WordPress web application (?).
Usage:
php bin/nino backup
Dump the shell completion script.
Usage:
php bin/nino completion
Display a list of constants defined by Setup.
Usage:
php bin/nino config
Display help for a command.
Usage:
php bin/nino help <command_name>
Add a plugin or theme via composer using slug only.
Usage:
php bin/nino install <package_slug> [--type=<plugin_or_theme>]
List available commands.
Usage:
php bin/nino list
Start the built-in PHP web server.
Usage:
php bin/nino serve [--port=<port_number>] [--host=<host_name>] [--docroot=<document_root>] [--ini=<php_ini_file>]
Creates a fresh .env file .
Usage:
php bin/nino setup
Provisions SSL for a domain.
Usage:
php bin/nino ssl <domain>
Database related commands:
Backup WordPress database.
Usage:
php bin/nino db:backup
Generate files and directories:
Generate a fresh copy of composer.json file and run composer install.
Usage:
php bin/nino make:composer
Create DB admin directory.
Usage:
php bin/nino make:dbadmin [--_dir=<directory_name>]
Create an .htpasswd file.
Usage:
php bin/nino make:htpass [--username=<username>] [--password=<password>]
WordPress related commands:
Installs WordPress.
Usage:
php bin/nino wp:install [--title=<blog_title>] [--user=<admin_username>] [--email=<admin_email>]
Generate an auto-login URL for a user.
Usage:
php bin/nino wp:login [--user=<admin_username>]
Feel free to explore and use these commands to streamline your WordPress development workflow with WPEnv Console!