routeRelease

tcmts.cli.commands.routeRelease · #iwgougyf · term · runs anywhere

import { text, words } from "#codebase/tcmts/cli/commands";
import { argument, command, multiple, name, option, schema, toggle } from "@bomb.sh/router";

export const routeRelease = () =>
  command(
    name("release"),
    argument(name("package"), schema(text(null))),
    toggle(name("draft")),
    option(name("notes"), schema(text(null))),
    option(name("remote"), schema(text(null))),
    toggle(name("force")),
    toggle(name("announce")),
    option(name("source"), multiple(), schema(words)),
    option(name("as"), schema(text(null))),
    command(name("check"), argument(name("package"), schema(text(null)))),
    command(name("view"), argument(name("release"), schema(text(null)))),
  )

uses

used by