vt - A companion cli for val.town

Installation

deno install -A http://deno.land/x/vt_cli/vt.ts

or download the binary from the releases page.

Authentication

Set the VALTOWN_TOKEN environment variable. You can generate a new one from here.

Alt text

Usage

  • eval <expression> : Eval an expression.
  • run <val> [args...] : Run a val.
  • edit <val> : Edit a val in the system editor.
  • open <val> : Open a val in the system browser.
  • view <val> : View val code.
  • api <path> : Make an API request.