Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandResult ¶
実行したコマンドとその結果を格納する構造体
func ExecuteCommand ¶
func ExecuteCommand(command string, approvalCheck ApprovalFunc) CommandResult
任意のシェルコマンドを実行する。 bool を返す関数である approvalCheck が nil でないとき、承認プロセスを行う。
Click to show internal directories.
Click to hide internal directories.