Add truffile delete command to remove apps from device#9
Merged
notabd7-deepshard merged 1 commit intodeepshard:mainfrom Feb 8, 2026
Merged
Add truffile delete command to remove apps from device#9notabd7-deepshard merged 1 commit intodeepshard:mainfrom
truffile delete command to remove apps from device#9notabd7-deepshard merged 1 commit intodeepshard:mainfrom
Conversation
Adds an interactive delete command that lists all installed focus and ambient apps, lets you select which to remove (by number, comma-separated, or 'all'), and deletes them via the Apps_DeleteApp gRPC endpoint. - Add delete_app() method to TruffleClient - Add cmd_delete to CLI with interactive selection - Register 'delete' subcommand in argparse and help text
Collaborator
|
lgtm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
While building and iterating on a Whoop Focus App, each
truffile deploycreated a new app instance on the device. There was no way to remove the old ones. After a few iterations, the device had 7 duplicate apps (3 Whoop + 3 Research + 1 test).The TruffleOS Desktop app lists installed apps but doesn't currently offer a delete option, and there's no CLI command for it either. The only way to clean up was the gRPC
Apps_DeleteAppendpoint, which the SDK already has protobuf stubs for but never exposed.What
Adds an interactive
truffile deleteCLI command that lists all installed focus and ambient apps, lets you select which to remove (by number, comma-separated, orall), and deletes them via theApps_DeleteAppgRPC endpoint.Changes
truffile/client.py— Adddelete_app(app_uuid)method toTruffleClientusingDeleteAppRequest/DeleteAppResponsefrom the existing protobuf stubstruffile/cli.py— Addcmd_deletewith interactive numbered selection, registerdeletesubcommand in argparse, and add to help textUsage