project upload
Package the project directory and upload it as a new project version.
squadron project upload [dir] [-n <version-name>] [-r | -c]Arguments:
dir: Project directory. If omitted, the CLI searches up from the current directory through parent directories for the nearest project manifest.
Options:
-n,--version-name: Version name (generated if omitted)-r,--rebuild: Re-run the build script on top of the previous build image, even if nothing changed.-c,--clean: Discard all cached build layers and start from a fresh base image.
--rebuild and --clean cannot be used together.
Volumes are linked from the project manifest (volumes field in .squadron/manifest.toml), not from CLI flags.
Examples:
squadron project upload
squadron project upload ./my-experiment -n v1.0
squadron project upload --clean