Important
zest-cli is a minimal fork of cargo-v5
Build, upload, run, and simulate ZestCode projects!
zest-cli is a command line tool that simplifies working with ZestCode projects
zest-cli comes with 2 optional features that enable extra functionality:
field-control: Adds a field control tui accesible throughzest field-controlorzest fc.fetch-template: With this feature enabled,zest newwill attempt to fetch the most recent upstream version of vexide-template instead of a built-in one. The command will always fall back to the built-in template.
If you wish to enable both, you can simply enable the full feature.
cargo install zest-cli --features "full"cargo install zest-cli --features "field-control"cargo install zest-cliBuild a ZestCode project for the V5's platform target:
zest build --releaseUpload a ZestCode project over USB (you may be prompted to provide a slot number):
zest uploadView serial output from the current user program:
zest terminalUpload behavior can be configured through either your zest.toml file or by providing arguments to zest-cli.
zest-cli will attempt to find zest.toml files with the following structure for providing defaults to some upload options.
[package.metadata.v5]
name = "ZestCode Project"
description = "a ZestCode Project"
slot = 1
icon = "cool-x"
compress = truepackage.metadata.v5.name(string): Set the program namepackage.metadata.v5.description(string): Set the program descriptionpackage.metadata.v5.slot(integer): Set the default program slot to upload to.package.metadata.v5.icon(string) (default"question-mark"): Set the default program icon. (seezest upload -hfor a list of icon strings)package.metadata.v5.compress(boolean) (defaulttrue): Configure if program binaries should be gzipped before uploading. It is strongly recommended to keep this at default (true), as disabling compression will greatly increase upload times.
For a full list of arguments, check
zest help