HarborHarbor
DocumentationGuidesPlugins
All plugins

Modal CLI

Modal app and deploy workflows via local modal through sand

CLICategory: infraPopularity 64modal

Modal app and deploy workflows via local modal through sand

Install

hrbr plugins install modal-cli

Quick start

hrbr exec 'return await sand.modal.version({})'

Or from a Function:

import { defineOrbitJob } from "@hrbr/orbit";

export default defineOrbitJob({
  name: "modal-cli-example",
  handler: async (ctx) => {
    return await ctx.plugins.modal.list({ limit: 5 });
  },
});

Tools

See available tools with:

hrbr plugins tools modal-cli

Or open the dashboard plugin page for the live tool list.