2025-03-14 21:59:59 -06:00
|
|
|
# cradle
|
|
|
|
|
|
|
|
|
|
> The Cradle PHP framework.
|
2025-12-16 10:20:31 -07:00
|
|
|
> Some subcommands such as `install` and `package` have their own usage documentation.
|
|
|
|
|
> More information: <https://cradlephp.github.io/docs/3.B.-Reference-Command-Line-Tools.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Install Cradle components (prompts for additional info):
|
|
|
|
|
|
|
|
|
|
`cradle install`
|
|
|
|
|
|
|
|
|
|
- Force install and overwrite files:
|
|
|
|
|
|
|
|
|
|
`cradle install {{[-f|--force]}}`
|
|
|
|
|
|
|
|
|
|
- Connect to a remote server (see `config/deploy.php`):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`cradle connect {{server_name}}`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Display the current Cradle configuration:
|
|
|
|
|
|
|
|
|
|
`cradle config show`
|
|
|
|
|
|
|
|
|
|
- Install a package into the current Cradle instance:
|
|
|
|
|
|
|
|
|
|
`cradle package install {{package_name}}`
|
|
|
|
|
|
|
|
|
|
- List installed packages:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`cradle package list`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`cradle help`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Display version:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`cradle --version`
|