1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 11:44:54 +02:00
tldr/pages/common/dep.md
teeteejo de8cb1174e
dep: replace page (#4476)
Replace Go's retired `dep` command with the PHP deployment command from https://deployer.org

Ref: https://github.com/golang/dep#dep
2020-10-09 16:14:28 +01:00

33 lines
654 B
Markdown

# dep
> A CLI tool for deployment of PHP applications.
> Note: The Go command `dep` with the same name is deprecated and archived.
> More information: <https://deployer.org>.
- Interactively initialize deployer in the local path (use a framework template with `--template={{template}}`):
`dep init`
- Deploy an application to a remote host:
`dep deploy {{hostname}}`
- Rollback to the previous working release:
`dep rollback`
- Connect to a remote host via ssh:
`dep ssh {{hostname}}`
- List commands:
`dep list`
- Run any arbitrary command on the remote hosts:
`dep run "{{command}}"`
- Display help for a command:
`dep help {{command}}`