# Command palette: Ability to type arguments to commands

**URL:** <https://forum.obsidian.md/t/command-palette-ability-to-type-arguments-to-commands/26477>\
**Category:** Feature requests\
**Created:** [November 1, 2021, 5:21am UTC](https://forum.obsidian.md/t/command-palette-ability-to-type-arguments-to-commands/26477 "2021-11-01T05:21:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jare](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jare/32/7374_2.png) [@Jare](https://forum.obsidian.md/u/Jare)\
**Post date:** [November 1, 2021, 5:21am UTC](https://forum.obsidian.md/t/command-palette-ability-to-type-arguments-to-commands/26477/1 "2021-11-01T05:21:34Z")

</div>

### Use case or problem

Some command palette commands could benefit from being able to get an argument (aka parameter) from the user directly in the command palette. My idea is that when a user has typed a command, they can then type a special character, e.g. `>` that tells that the text following that character is not part of the command name (and should not filter the list of commands), but instead an argument that will be passed to the command.

 ![kuva](https://forum.obsidian.md/uploads/default/original/3X/5/b/5b31f4ca882272628123d5d578baf0cdcb162c73.png)

This example assumes that _Create new note_ would be able to support this argument feature.

Also, typing `>` could filter the list to only include commands that support taking this kind of arguments.

### Current workaround (optional)

Currently, commands that need arguments, typically create their own modal that asks the user for a value. _Create new note_ doesn’t create a modal, but it asks the file name by focusing the title field in the editor. That’s not bad, but maybe some other commands could benefit more from this kind of feature.

---

<div class="post-metadata">

**Author:** ![mayurankv](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/m/13edae/32.png) [@mayurankv](https://forum.obsidian.md/u/mayurankv)\
**Post date:** [November 5, 2021, 8:36pm UTC](https://forum.obsidian.md/t/command-palette-ability-to-type-arguments-to-commands/26477/2 "2021-11-05T20:36:48Z")

</div>

Totally agree, would love to see this. Things like find for example would just save an extra bit of clicking. If its possible to implement, I think this would be great!
