def add
import ezx@1.11.0.0/src/ez/cmd.bend as Cmdimport Base
import ezx@1.11.0.0/src/add/run.bend as AddRun
173# `ez add <target> [rev|tag|branch] [entry.bend] [--rename NAME]`, planned by
174# add/plan.bend. The target is an `owner/repo`, a git url, or a path, the same
175# shapes `ez tool run` takes, or a hub package's `<name>@<version>`
176# (add/hub.bend). A missing ref is resolved, and a missing entry is read from
177# the checkout, or from the package the hub serves.
178def add(+target: String, +ref: String, +entry: String, +rename: String) -> IO(Unit):
179 AddRun.run(target, ref, entry, rename)