2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Rovo Devコマンドシート

2
Last updated at Posted at 2025-06-25

Atlassianから2025/6/18にリリースされたCoding TerminalのRovo Devのコマンドシートになります。現時点でBetaモードなので今後変更される可能性はあります。

なお、M1 Macで投入して確認したものになります。

acli rovodevコマンド

help

hide@MacBookAir kuzudb_mylab % acli rovodev --help     
                                                                                                                        
 Usage: acli rovodev [OPTIONS] COMMAND [ARGS]...                                                                                                                                                                                         
 Atlassian Rovo Dev CLI                                                                                                                                                                                                      
                                                                                                                        
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version          Show the Rovo Dev CLI version.                                                                    │
│ --help             Show this message and exit.                                                                       │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ auth     Authentication commands for Rovo Dev CLI                                                                    │
│ run      Run the Rovo Dev coding agent.                                                                              │
│ config   Open the Rovo Dev configuration file in your editor.                                                        │
│ log      Open the Rovo Dev log file in your editor.                                                                  │
│ mcp      Open the Rovo Dev MCP config file in your editor.                                                           │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

version

hide@MacBookAir kuzudb_mylab % acli rovodev --version
Rovo Dev CLI: 0.6.8
Operating System: Darwin 24.5.0 (arm64)
Git: git version 2.39.5 (Apple Git-154)

authコマンド

hide@MacBookAir kuzudb_mylab % acli rovodev auth --help
Authenticate to use Rovo Dev CLI.
Usage:
  acli rovodev auth [command]
Available Commands:
  login       Authenticate to use Rovo Dev specific tasks.
  logout      Remove authentication for a Rovo Dev account.
  status      Show status for Rovo Dev account.
Flags:
  -h, --help   Show help for command
Use "acli rovodev auth [command] --help" for more information about a command.

rovo devを使う場合はacli rovodev authコマンドを投入し、認証をしておく必要があるが、認証しているとrovo devで他の自分のJira製品にアクセスできるがそれを放置しておきたくない場合はacli rovodev auth logoutでログアウトしておく。

認証状態はacli rovodev auth statusで確認できる

hide@MacBookAir kuzudb_mylab % acli rovodev auth status
✓ Authenticated
 Email: ******@gmail.com
 Token: A***************************

認証されていない場合

hide@MacBookAir kuzudb_mylab % acli rovodev auth status
✗ Error: unauthorized: use 'acli rovodev auth login' to authenticate

runコマンド

公式にはacli rovodev runでターミナル起動を案内していますが、いくつかオプションがあるのでその紹介も兼ねています。

hide@MacBookAir kuzudb_mylab % acli rovodev run --help
                                                                                                                        
 Usage: acli rovodev run [OPTIONS] [MESSAGE]...                                                                                                                                                                                     
 Run the Rovo Dev coding agent.                                                                                         
                                                                                                                        
╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│   message      [MESSAGE]...  Initial instruction for the agent. [default: None]                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --config-file        TEXT  Config file. [default: /Users/hidepo/.rovodev/config.yml]                                 │
│ --shadow                   Enable/disable the agent to run in shadow mode. This will run the agent on a temporary    │
│                            clone of your workspace, prompting you before any changes are applied to your working     │
│                            directory. If set, this flag will override the config file setting                        │
│                            agent.experimental.enableShadowMode                                                       │
│ --verbose                  Enable/disable verbose tool output. If set, this will override the config file setting    │
│                            console.showToolResults                                                                   │
│ --restore                  Continue the last session if available. By default, a new session is started. If set,     │
│                            this flag will override the config file setting sessions.autoRestore                      │
│ --help                     Show this message and exit.                                                               │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

先にあまり言及することがないオプションについて。
--config-fileオプションはシンプルにconfigファイル指定でrunコマンドを起動しますが、基本はデフォルトで問題ないと思います。--verboseオプションは試しましたがちょっとわかりませんでした。基本はEnableのようなのでdisableにすると出力内容が減る?のかもと思いましたが違いが不明でした。

--shadowオプション

説明文を見てもピンときませんでしたが、一時的に作業領域を作成しコードの追加修正想定を提案し、最後にyesnoで適用するか選べるオプションのようです。

投入時

shadow_begin.png

ターミナル指定の後の確認画面

shadow_end.png

--shadowオプションつけないで色々指定すると勝手にファイル作ったり修正したりするのがCodingターミナルのため、作成指示のできるファイル、Rovo Devだとagent.mdでコントロールをすることが重要だと思いましたが、このオプションで起動すると勝手にファイル作ったり修正されることはなく、変更される点を見つつ修正することができるようです。使いこなした方がいいオプションと思いました。

--restoreオプション

acli rovodev runコマンドでRovo Devを開始すると新しいセッションでターミナルを開始しますが、このオプションをつけると直近操作したセッションを継続したまま起動開始することができます。セッションが増えず直近操作したコマンド履歴も消さなければ残ったまま操作できるので便利だと思います。

acli rovodev run --restore

他のコマンド

なお、下記のコマンドは割愛します。コマンド起動で変更できませんでした。どこかでキャッチアップできたらアップデート予定です。

acli rovodev config
acli rovodev log
acli rovodev mcp

普通に投入するとこのエラーが出ます。

hide@MacBookAir .rovodev % acli rovodev config       
Could not detect editor. Please set the EDITOR environment variable or open the 
file manually: /Users/hide/.rovodev/config.yml

ちなみに$HOME/.rovodev配下にこれらが設定されるファイルがあるのでここを直接編集するのが今はいい気がします。

hide@MacBookAir .rovodev % ls -trla
total 1792
-rw-r--r--   1 hide  staff      24  6 25 16:27 mcp.json
drwxr-xr-x  11 hide  staff     352  6 25 20:38 sessions
-rw-r--r--   1 hide  staff   11053  6 25 20:41 prompt_history
-rw-r--r--   1 hide  staff  837304  6 25 20:44 rovodev.log
-rw-r--r--   1 hide  staff    4121  6 25 20:50 config.yml
drwxr-xr-x+ 75 hide  staff    2400  6 25 20:50 ..
drwxr-xr-x   7 hide  staff     224  6 25 20:50 .
hide@MacBookAir .rovodev % 

なお、acli rovodev runコマンドを投入した後のターミナルで/スラッシュコマンドを使い色々操作できますが、この案内は他の記事であったため割愛しました。

╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > /                                                                                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
/sessions              View and manage for agent sessions.                                                    
/clear                 Clear the current session's message history.                                           
/prune                 Reduce the token size of the current session's message history while retaining context.
/instructions          Run saved instructions.                                                                
/memory                Memory file management.                                                                
# <note>               Add a note to Rovo Dev's local memory file.                                            
#! <note>              Remove a note from Rovo Dev's local memory file.                                       
/feedback              Provide feedback or report a bug on Rovo Dev CLI.                                      
/usage                 Show your daily LLM token usage.                                                       
/exit                  Exit the application. Can also be `/quit`, `/q`, `exit`, `quit`, or `q`.    

公式にここに記載したような案内が見当たらなかったので一旦作成してみました。役立てていただけると幸いです。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?