Comments (4)
I found a way to do this: wp --help | more
from wp-cli.
I guess this can be closed but I would recommend adding this solution to the help output (at the top.) Also, please add this to this page: https://developer.wordpress.org/cli/commands/help/
from wp-cli.
@rapidsysc WP-CLI honors the unix PAGER
environment variable, but will fall back to less
on Linux and more
on Windows if it is not set.
You can change the behavior by setting this variable, for example by putting something like export PAGER=more
into your bash.rc
file or other startup script file.
You can also directly use any of these by prepending the variable, like so: PAGER=more wp cli --help
.
If you want to just have the entire help text be dumped to the console without any extra logic, use cat
as the pager: PAGER=cat wp cli --help
.
from wp-cli.
Cool - thanks for that extra information!
from wp-cli.
Related Issues (20)
- Update a DocBlock for load_admin_environment() function HOT 1
- wp config create --dbhost="localhost:/run/mysqld/mysqld.sock" not working since 2.9.0 update HOT 1
- Release checklist for v2.9.1 HOT 2
- Release Checklist for WP-CLI v2.9.1 HOT 1
- WP_CLI_PHP ignored even when installing from deb not phar HOT 5
- No colorized output when returning an object from WP_CLI:runcommand() HOT 1
- PHP parse error HOT 3
- WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version HOT 8
- Owners and Permissions scheme HOT 1
- Release checklist for v2.10.0 HOT 2
- Failing tests because of `mysqldump --skip-column-statistics` arg
- PHP deprecation warnings triggered by calls to `WP_CLI::error()` and `WP_CLI::halt()` HOT 1
- PHP deprecation warning(s) triggered by `Utils\http_request()` HOT 1
- Error: Wp cli project based installation is not working in Ubuntu 22.04.3
- phar version is out-of-date HOT 4
- wp theme status <theme-name> throws: Error: Couldn't find theme-status.mustache HOT 14
- Docs: Improve Inline Comments
- Bug Report: wpcli Hangs When Attempting to Update Hacked WordPress Sites HOT 2
- Shipping unprefixed dependencies causes conflicts. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-cli.