Skip to main content

Module cli

Module cli 

Source
Expand description

The bynk driver command-line interface.

The developer front-end: doctor / new / dev, plus the everyday check / fmt / test (v0.138, #487). check, compile, fmt and test run the linked pipeline in-process.

Structs§

AccountTarget
#2378: which registry an account command talks to.
Cli
DevStreamArgs
What bynk dev reads from the workers’ output and writes as events: the --log-events, --trace-events and --rewrite-frames flags, together so bynk dev’s many flags stay manageable.
EvalCommand
The flags of bynk eval (#3585).
LockArgs
#2240: how a command may change bynk.lock and the store.

Enums§

BookFormat
bynk book --search’s output formats.
CapabilityArg
--only selector. Mirrors Capability minus the internal distinctions.
CheckFormatArg
bynk check --format selector (rich/short).
ClientLayoutArg
bynk client --layout (#3508).
Command
DeployFormatArg
Scriptable output choices for bynk deploy’s plan.
DevFormatArg
Output choices for bynk dev (#2094).
DevSub
What bynk dev can do besides serve (#3581).
FormatArg
InspectSub
bynk dev inspect’s subjects.
MemberCommand
#2378: bynk org member subcommands.
MigrateCommand
bynk migrate’s subcommands (state-migrations S4, #2259).
OpenapiFormatArg
#2378: bynk org subcommands. bynk openapi --format.
OrgCommand
OrgTokenCommand
#2378: bynk org token subcommands.
RegistryCommand
#2274: bynk registry subcommands.

Constants§

COMMAND_GROUPS
The headings bynk --help sorts its subcommands under, in order. clap has no subcommand headings of its own, so command renders this listing into the help template; every visible subcommand must appear exactly once.

Functions§

command
The driver’s clap command: Cli’s, with the top-level subcommands listed under COMMAND_GROUPS instead of in one flat block.
doctor_options
Build the DoctorOptions from the parsed flags.