搜索

PythonReactSEOPDF
GitHub Skill

daemon-send-command

Instructions for sending commands to the AutomateLinux daemon using the CLI.

yanivprusman☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Sending Commands to the Daemon

The AutomateLinux daemon is controlled via a Unix Domain Socket (UDS). You can interact with it using the binary directly or via the d shorthand.

Using the d Shorthand

The d function is the recommended way to interact with the daemon. It is designed to be smart and concise.

1. Direct Command Sending

You can skip the send keyword for most operations.

d listPorts
d ping
d publicTransportationOpenApp
2. Commands with Arguments

Use --key and --value (or other defined arguments) for commands that require parameters.

d setPort --key pt --value 3001
d simulateInput --type 1 --code 1003 --value 1
3. Explicit Modes

If you need to be explicit, or if you are starting the daemon process itself:

d send ping

Internal Binary Mode

If the d function is not available, you must use the daemon binary directly from its directory:

./daemon send <command> [args...]

How it Works

The d function (defined in terminal/functions/daemon.sh) checks it's first argument. If it isn't send or daemon, it prepends send automatically before calling the daemon binary. This allows for a much faster workflow while maintaining compatibility with the binary's strict argv[1] requirement.

[!TIP] Use d help to see all available commands and their required arguments.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!