All apps/DDEV

DDEV

ddev

Docker-based local PHP+Node.js web development environments.

Runs as ddev|macOS, Linux, Windows|ddev.com

Command form

ai-draft · 6 tasks · 19 fields

Logs, database export/import and snapshots for the current DDEV project. Other subcommands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ddev

ddev logs

Show logs

Shows logs of a service of the current project.

Show logsExample values, fixed in this page — nothing here reaches a terminal
Basic
Follow
--follow
Service
webstring
Timestamps
--time
TasksEach one presets the form for one job
Follow web logs
followservicetime
Last db lines
servicetail
ParametersOnly these flags are editable in the form
Follow
boolean
--follow-f
Service
string
--service-swebdb
Tail lines
integer
--tail
Timestamps
boolean
--time-t

ddev export-db

Export database

Dumps the project database to a file or to stdout.

Export databaseExample values, fixed in this page — nothing here reaches a terminal
Basic
Output file*
file
gzip
--gzip
TasksEach one presets the form for one job
Export gzip file
filegzip
ParametersOnly these flags are editable in the form
Output file
path
--file-f
gzip
boolean
--gzip-z
bzip2
boolean
--bzip2
xz
boolean
--xz
Database
string
--target-db-d

ddev import-db

Import database

Imports a SQL dump or archive; drops the existing database first unless told not to.

Import databaseExample values, fixed in this page — nothing here reaches a terminal
Basic
Dump file*
file
Database
string
Show progress
--progress
TasksEach one presets the form for one job
Import dump
srcprogresstarget_db
ParametersOnly these flags are editable in the form
Dump file
path
--src-f
Do not drop database first
boolean
--no-drop
Database
string
--target-db-d
Show progress
boolean
--progress-p
Path inside archive
string
--extract-path

ddev snapshot

Database snapshot

Creates, lists or cleans up database snapshots.

Database snapshotExample values, fixed in this page — nothing here reaches a terminal
Basic
Snapshot name
string
All projects
--all
TasksEach one presets the form for one job
Create snapshot
nameall
List snapshots
list
ParametersOnly these flags are editable in the form
Snapshot name
string
--name-n
List snapshots
boolean
--list-l
Clean up snapshots
boolean
--cleanup-C
All projects
boolean
--all-a
Skip confirmation
boolean
--yes-y
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed ddev against its version. A form that does not match your version is not offered.