mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 19:55:59 +00:00
Update cheatsheets
This commit is contained in:
30
tldr/cradle
30
tldr/cradle
@@ -6,21 +6,37 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# cradle
|
||||
|
||||
> The Cradle PHP framework.
|
||||
> Some subcommands such as `install` have their own usage documentation.
|
||||
> More information: <https://cradlephp.github.io>.
|
||||
> 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>.
|
||||
|
||||
- Connect to a server:
|
||||
- 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`):
|
||||
|
||||
`cradle connect {{server_name}}`
|
||||
|
||||
- Execute a Cradle command:
|
||||
- Display the current Cradle configuration:
|
||||
|
||||
`cradle {{command}}`
|
||||
`cradle config show`
|
||||
|
||||
- Install a package into the current Cradle instance:
|
||||
|
||||
`cradle package install {{package_name}}`
|
||||
|
||||
- List installed packages:
|
||||
|
||||
`cradle package list`
|
||||
|
||||
- Display help:
|
||||
|
||||
`cradle help`
|
||||
|
||||
- Display help for a specific command:
|
||||
- Display version:
|
||||
|
||||
`cradle {{command}} help`
|
||||
`cradle --version`
|
||||
|
||||
Reference in New Issue
Block a user