humanmade / humanmade/altis-documentation

Create a guide for installing & creating WP CLI packages

Open
#115 1 comment 0 reactions 0 assignees View on GitHub
could have developer advocacy
Dominant language
PHP
Stars
6
Forks
3
Avg merge
1d 14h
Merged PRs (30d)
2

Description

Originally raised by @ntwb in https://github.com/humanmade/altis-local-server/issues/118

We should provide some guidance on installing WP CLI command packages and the basics of how to create your own.

Should include:

- What is WP CLI
- Some common command examples (adding a user, search replace, listing post ids and passing to another command)
- Use cases for custom commands
- Adding command packages via composer instead of `wp package install` & why (not supported on production infrastructure)
- Using `wp package list` to find packages, or https://packagist.org/?type=wp-cli-package
- Common problems eg. if the command doesn't check for existence of `WP_CLI` class
- How to create your own command

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.