-
-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arduino-cli upload -i
flag removed
#764
Comments
Hi @janjongboom, thanks for the heads up! Can you try the If not, can you give us more context on your issue? |
@rsora |
@janjongboom I see that your usecase is a good one and is now lacking support, we'll reintroduce the For completeness, the current
so we replaced the pair |
* Remove deprecation from importFile param * Implement --input-file flag * Add comment in --input-file splitting step * Add e2e test for --input-x flags * Refine upload flags testing * Add --input-file file existence check * Use TrimSuffix instead of replace * Restore -i shorthand flag for --input-file and add CLI checkFlagsConflicts function * Improved build path and project name auto-detection This should make the upload command compatibile with all the reasonable usages. See #764 See #641 * Made UploadTest more resilient * upload: sketch is ignored if input-dir or input-file is specified There is no point in overriding the sketch name if the user explicitly give it via command line. * Update go-paths-helper to version 1.3.2 fixes EquivalentTo when used with abs paths * fix TestGetCommandLine * 100% coverage on detectSketchNameFromBuildPath function * Do not git-ignore all *.bin but just inside the client_example folder * slightly simplified function signature (cosmetic) Co-authored-by: Cristian Maglie <c.maglie@arduino.cc>
@janjongboom |
Bug Report
Current behavior
We currently upload via e.g.:
This no longer works in v0.11. This is a breaking change for us and I do not see any alternatives for specifying the bin file in the latest docs. Is there any way to achieve the same behavior? We use the Arduino CLI to flash prebuilt binaries, not sketches.
Environment
arduino-cli version
): arduino-cli Version: 0.11.0 Commit: 0296f4dAdditional context
The text was updated successfully, but these errors were encountered: