The wrangler init command, used to initialize a new Worker project, provides an argument called from-dash which could be used to obtain a Worker initialized from the dashboard.
wrangler init
from-dash
Usage: wrangler init --from-dash <WORKER_NAME>
wrangler init --from-dash <WORKER_NAME>