Commit Graph

14 Commits

Author SHA1 Message Date
zeaslity
6de29630b5 123 2025-02-27 14:52:57 +08:00
zeaslity
3ad2533550 Enhance Help Command with Recursive Command Listing
- Replaced default help function with a custom implementation
- Added `printAllCommands` function to recursively list available commands
- Improved command help display with indentation and description
- Supports nested command hierarchy visualization
2025-02-27 14:42:34 +08:00
zeaslity
7a703dccc4 Add Help Command to Agent WDD CLI
- Implemented a new 'help' command in the root command
- Configured the help command to use the default usage template
- Integrated the help command into the root command's available subcommands
2025-02-27 14:26:07 +08:00
zeaslity
72bc56b5e5 Enhance Zsh and Config Commands, Update Network Configuration
- Implemented comprehensive Zsh installation command with multiple network scenarios
- Added 'config show' subcommand to display agent configuration
- Updated version command to print version information
- Modified Network configuration to clarify internet connectivity status
- Improved download utility with additional file existence checks
- Updated agent-wdd rules and documentation
2025-02-27 14:20:05 +08:00
zeaslity
16c041e3eb Add base system configuration commands for agent-wdd
- Implemented new base commands for system configuration:
  * swap: Disable system swap
  * selinux: Disable SELinux
  * firewall: Stop and disable firewalld and ufw
  * sysconfig: Modify system sysctl configuration
  * ssh: Add SSH-related subcommands (key, port, config)

- Updated Config.go to initialize ConfigCache with default values
- Added new utility functions in FileUtils.go for file content manipulation
- Extended Excutor.go with HardCodeCommandExecutor method
2025-02-27 10:57:58 +08:00
zeaslity
e8f0e0d4a9 123 2025-02-26 17:49:03 +08:00
zeaslity
c751c21871 大量的更新 2025-02-26 17:44:03 +08:00
zeaslity
b8170e00d4 愉快的使用cursor 2025-02-26 09:25:24 +08:00
zeaslity
60a1849207 新增cursor的配置 2025-02-25 17:01:14 +08:00
zeaslity
ce0395ae66 [agent-wdd] 完成Excecutor和Operator部分,完成base tools部分 2025-02-14 17:17:55 +08:00
zeaslity
dabf63f10f [agent-wdd] 基本完成Info部分的整理 2025-02-13 15:29:26 +08:00
zeaslity
e826b55240 [agent-wdd] 完成自定义log部分;完成info network部分; 项目结构基本完成 2025-02-11 17:27:41 +08:00
zeaslity
b8f0b14852 [agent][wdd] - 初始化项目 2025-02-10 15:07:44 +08:00
zeaslity
a0811d62e7 [agent-wdd]-重构agent的bastion模式 2025-02-10 11:15:35 +08:00