def upload.go

ezx@1.11.0.0 · src/pub/plan.bend:565

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import Base

565# the words the upload runs: the entry, and after `--publish` the
566# `<name>@<version>` the package goes under when it has one, which is how
567# bend 2.0.27 publishes and names a package in one run (`bend <file>
568# --publish <name>@<version>`). With no name it is the upload by hash alone.
569def upload.go(bare: Bool, +entry: String, +named: String) -> List<&2, String>:
570  match bare:
571    case True{}:
572      ["bend", entry, "--publish"]
573    case False{}:
574      ["bend", entry, "--publish", named]

Uses (3)

Used by (1)