-
Notifications
You must be signed in to change notification settings - Fork 0
Creating_Scripts
Tricked edited this page Oct 15, 2021
·
2 revisions
Initilize diplo in your current directory
$ diplo init
Create your first script
{
"dependencies": {},
"import_map": false,
"load_env": false,
"name": "",
"scripts": {
"start": "deno run mod.ts"
},
"watcher": {}
}now start your script
$ diplo run start
or start your script while watching for changes
$ diplo run start --watch
$ diplo exec <script>
$ diplo exec deno run -A mod.ts