Skip to content

Commit

Permalink
Merge pull request #130 from mattstein/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
bnomei authored Nov 24, 2024
2 parents 04c18cf + 6e06187 commit 8d633a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fields:
Janitor will automatically fill in the current model.
- The `--model` argument will have the UUID or ID of the current model. You can use `janitor()->model($cli->arg('model))` to get the object.
- The `--model` argument will have the UUID or ID of the current model. You can use `janitor()->model($cli->arg('model'))` to get the object.
- But if for example you press the panel button on a page you will have `--page` argument set to the UUID or ID of that page. Use `$cli->kirby()->page($cli->arg('page'))` to get the object.
- If you call it on a file view then `--file` arg will be set. Use `$cli->kirby()->file($cli->arg('file'))` to get the object.
- On a panel user view... `--user`. Use `$cli->kirby()->user($cli->arg('user'))` to get the object.
Expand Down

0 comments on commit 8d633a1

Please sign in to comment.