diff --git a/docs/extensions-plugins/cli/commands.mdx b/docs/extensions-plugins/cli/commands.mdx index f7df2667b..66192e9a9 100644 --- a/docs/extensions-plugins/cli/commands.mdx +++ b/docs/extensions-plugins/cli/commands.mdx @@ -58,6 +58,15 @@ Displays your `x` most recent assets. pieces list assets x ``` +#### List Editor Opening +Opens the Assets in the configured editor of choice. + +```bash +list assets -e + ``` + + ```-e``` is a flag that opens the asset in the configured external editor. Editor of choice can be configured using config command. + #### List Applications Lists all registered applications. @@ -76,11 +85,9 @@ pieces list models Opens an asset from a list or search. If only "open" is used, it opens the most recent asset. This also creates a link to the asset's code. ```bash -pieces open [ITEM_INDEX] [-e] +pieces open [ITEM_INDEX] ``` -```-e``` is an optional flag . It Opens the asset in the configured external editor. Editor of choice can be configured using config command. - ##### Editor Configuration: You can configure an external editor to open assets for editing. Use the following command to set your preferred editor: