ideas
ideas copied to clipboard
--demo global flag for demonstrating how each WP-CLI command works
Similar to --help
, it would be informative to have a --demo
global flag that would interactively demonstrate how each WP-CLI command works.
Ultimately, the end experience should be something like this:
To produce a GIF-like experience, we'd need some way of "recording" a series of commands to be run.
Also, the command execution would need to be mocked in some way as well (e.g. it shouldn't actually work against a live install).
As an alternative to GIF files, we could look into using Asciinema: https://asciinema.org/
It is open source, produces real text animations that can be embedded into a site, and the resulting animations can be paused and you can even select and copy text out of them.
we could look into using Asciinema: https://asciinema.org/
That is really neat.