Skip to main content
Module

x/netzo/deno.d.ts>Deno.args

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
variable Deno.args
import { Deno } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";
const { args } = Deno;

Returns the script arguments to the program. If for example we run a program:

deno run --allow-read https://deno.land/std/examples/cat.ts /etc/passwd

Then Deno.args will contain:

[ "/etc/passwd" ]

type

string[]