Skip to content

Commit

Permalink
docs: enhance command output format to include stdout in operation re…
Browse files Browse the repository at this point in the history
…sults
  • Loading branch information
msudgh committed Jan 2, 2025
1 parent 8f40f39 commit 6b3065f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,13 @@ info: Run operation finished! {"custom_commands_log_path":"/var/folders/_v/j4w6k
$ ovm r "echo 'Path: {0}'"
info: Run command {"command":"echo 'Path: ~/Documents/obsidian/Career'","vault":{"name":"Career","path":"~/Documents/obsidian/Career"}}

Path: ~/Documents/obsidian/Career

info: Run operation finished! {"custom_commands_log_path":"/var/folders/_v/j4w6kv1s27b6xjfzvl5k6lqm0000gn/T/ovm-custom-command.json"}
┌─────────┬─────────┬──────────┬───────┐
│ (index) │ success │ duration │ error │
├─────────┼─────────┼──────────┼───────┤
│ Career │ true'10 ms' │ null │
└─────────┴─────────┴──────────┴───────┘

┌─────────┬─────────┬──────────┬───────┬─────────────────────────────────────────┐
│ (index) │ success │ duration │ error │ stdout │
├─────────┼─────────┼──────────┼───────┼─────────────────────────────────────────┤
│ Career │ true'10 ms' │ null │ 'Path: ~/Documents/obsidian/Career'
└─────────┴─────────┴──────────┴───────┴─────────────────────────────────────────┘
```

### Reserved placeholders
Expand Down

0 comments on commit 6b3065f

Please sign in to comment.