Skip to content

Commit

Permalink
Merge branch 'release/0.4.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
msudgh committed Aug 25, 2024
2 parents 32e0a22 + 7a38a2a commit 19dd4aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ Aliases: `ovm vr` / `ovm r` / `ovm run`

Run a shell command on selected vaults (using Node.js child_process).

**Disclaimer: Any input containing shell metacharacters may be used to trigger arbitrary command execution, using of this command is at risk of command's caller.**

- _Usage:_ `ovm help vaults run`
- _See code:_ [src/commands/vaults/run.ts](src/commands/vaults/run.ts)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ovm",
"description": "Obsidian Vaults Manager",
"type": "commonjs",
"version": "0.4.2",
"version": "0.4.3",
"license": "MIT",
"author": "Masoud Ghorbani",
"homepage": "https://github.com/msudgh/ovm",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/vaults/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface ExecuteCustomCommandResult {

export default class Run extends FactoryCommand {
static readonly aliases = ['r', 'run', 'vr', 'vaults run']
static override readonly description = `Run a shell command on selected vaults (using Node.js child_process).`
static override readonly description = `Run a shell command on selected vaults (using Node.js child_process).\nDisclaimer: Any input containing shell metacharacters may be used to trigger arbitrary command execution, using of this command is at risk of command's caller.`
static override readonly examples = [
'<%= config.bin %> <%= command.id %> --path=/path/to/vaults',
'<%= config.bin %> <%= command.id %> --path=/path/to/vaults/*/.obsidian --output=json',
Expand Down

0 comments on commit 19dd4aa

Please sign in to comment.