Skip to main content

decel

asciicast

A CLI for Deno Deploy

Better UX feels like vercel/cli

Guide

Prerequisite

  1. Install decel with Deno
deno install -A --unstable --no-check https://deno.land/x/decel@v1.0.2/decel.ts
  1. Get a Access Token from Deno Deploy Dash

  2. Export the token to env export DENO_DEPLOY_TOKEN=xxx or use with decel --token=xxx

Usage

$ decel -h

decel - a CLI for Deno Deploy

  Usage:
    deno <command> [options]

  Commands:
    ls | list - list all projects in Deno Deploy

  Options:
    -h, --help      Show help message
    
    --token         Deno Deploy Access Token
    --prod          Deploy in production mode
    --static        Deploy with static files

    [ls]
    --show-dev      Show dev domain in ls table


  Examples:

  - Deploy the current directory to Deno Deploy

    $ decel
  
  - Deploy the current directory with a custom name

    $ decel --name my-project

  - Deploy the current directory with entry file

    $ decel ./app.ts

LICENSE

MIT