package
1.1.4
Repository: https://github.com/ne0nd0g/merlin-cli.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Commands

This directory contains all the commands that can be run from the CLI. The child folders are:

Command Folders

  • agent - Commands that are executed in the agent menu
    • all - Commands that are available to all agents no matter the operating system the agent is running on
    • linux - Commands that are available to agents running on Linux
    • windows - Commands that are available to agents running on Windows
  • all -Commands that are available in all menus
  • listeners - Commands that are executed in the listeners menu
  • mainMenu - Commands that are executed in the main menu only. Could not use main because it is a reserved word
  • module - Commands that are executed in the modules menu
  • multi - Commands that are available in multiple menus, but not all menus.

Template

The template file provides an example command that can be used as a starting point for new commands.

Rules

  • A Command's description should be one sentence
  • A Command's usage should follow these rules:
  • The Command should do as much client side validation as possible before making the API call to the server
  • Hyperlinks should be at the end of the Notes section under a "References" heading
  • Commands "Do" functions should only return UserMessages
    • Set the Error field to true when there was an API or parsing error
    • Set the Level field to Info when not enough arguments were provided and when returning the usage