Skip to content

Commit

Permalink
add --dry-run to the test script.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya committed Sep 13, 2024
1 parent ad04c11 commit 0069aa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ros2ai/verb/exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ def main(self, *, args):
if not args.dry_run:
run_executable(command = command_str)
else:
print(f"Command: '{command_str}'")
print(f"Command Candidate: '{command_str}'")
1 change: 1 addition & 0 deletions scripts/verification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ command_list=(
"ros2 ai query \"say hello\" -nv"
"ros2 ai query \"say hello\" -m gpt-3.5-turbo -u https://api.openai.com/v1 -t 100"
"ros2 ai exec \"give me all topics\""
"ros2 ai exec \"give me all topics\" --dry-run"
"ros2 ai exec \"give me all topics\" -d"
)

Expand Down

0 comments on commit 0069aa2

Please sign in to comment.