mirror of
https://github.com/dragonheim/gagent.git
synced 2025-01-18 09:36:28 -08:00
feat: minor cleanup.
This commit is contained in:
parent
28dd864350
commit
b1759291b4
3 changed files with 22 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
||||||
# G'Agent
|
# G'Agent
|
||||||
[![Maintained Status](https://img.shields.io/maintenance/yes/2021?style=plastic)](https://github.com/dragonheim/gagent)
|
[![Maintained Status](https://img.shields.io/maintenance/yes/2023?style=plastic)](https://github.com/dragonheim/gagent)
|
||||||
[![License](https://img.shields.io/badge/License-MIT-limegreen.svg)](https://github.com/dragonheim/gagent/src/branch/main/LICENSE)
|
[![License](https://img.shields.io/badge/License-MIT-limegreen.svg)](https://github.com/dragonheim/gagent/src/branch/main/LICENSE)
|
||||||
|
|
||||||
[![Build Status](https://drone.dragonheim.net/api/badges/dragonheim/gagent/status.svg)](https://drone.dragonheim.net/dragonheim/gagent)
|
[![Build Status](https://drone.dragonheim.net/api/badges/dragonheim/gagent/status.svg)](https://drone.dragonheim.net/dragonheim/gagent)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
terraform {
|
terraform {
|
||||||
required_version = ">= 1.1.7"
|
required_version = ">= 1.3.1"
|
||||||
required_providers {
|
required_providers {
|
||||||
aws = {
|
aws = {
|
||||||
source = "hashicorp/aws"
|
source = "hashicorp/aws"
|
||||||
version = "~> 4.5.0"
|
version = "~> 4.56.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -194,33 +194,33 @@ func init() {
|
||||||
* and available arguments / options. Documentation is available at;
|
* and available arguments / options. Documentation is available at;
|
||||||
* http://docopt.org/
|
* http://docopt.org/
|
||||||
*/
|
*/
|
||||||
usage := "G'Agents \n"
|
usage := "G'Agents\n"
|
||||||
usage += "\n"
|
usage += "\n"
|
||||||
usage += " Go based mobile agent system, loosely inspired by the Agent Tcl / D'Agents \n"
|
usage += " Go based mobile agent system, loosely inspired by the Agent Tcl / D'Agents\n"
|
||||||
usage += " system created by Robert S. Gray of Dartmouth college. \n"
|
usage += " system created by Robert S. Gray of Dartmouth college.\n"
|
||||||
usage += "\n"
|
usage += "\n"
|
||||||
|
|
||||||
usage += "Usage: \n"
|
usage += "Usage:\n"
|
||||||
usage += " gagent client (pull|push) [--config=<config>] [--agent=<file>] \n"
|
usage += " gagent client (pull|push) [--config=<config>] [--agent=<file>]\n"
|
||||||
usage += " gagent router [--config=<config>] \n"
|
usage += " gagent router [--config=<config>]\n"
|
||||||
usage += " gagent worker [--config=<config>] \n"
|
usage += " gagent worker [--config=<config>]\n"
|
||||||
usage += " gagent setup [--config=<config>] \n"
|
usage += " gagent setup [--config=<config>]\n"
|
||||||
usage += " gagent --version \n"
|
usage += " gagent --version\n"
|
||||||
usage += "\n"
|
usage += "\n"
|
||||||
|
|
||||||
usage += "Arguments: \n"
|
usage += "Arguments:\n"
|
||||||
usage += " client pull -- Start as a G'Agent client to pull agent results \n"
|
usage += " client pull -- Start as a G'Agent client to pull agent results\n"
|
||||||
usage += " client push -- Start as a G'Agent client to push agent \n"
|
usage += " client push -- Start as a G'Agent client to push agent\n"
|
||||||
usage += " router -- Start as a G'Agent router \n"
|
usage += " router -- Start as a G'Agent router\n"
|
||||||
usage += " worker -- Start as a G'Agent worker \n"
|
usage += " worker -- Start as a G'Agent worker\n"
|
||||||
usage += " setup -- Write initial configuration file \n"
|
usage += " setup -- Write initial configuration file\n"
|
||||||
usage += "\n"
|
usage += "\n"
|
||||||
|
|
||||||
usage += "Options:\n"
|
usage += "Options:\n"
|
||||||
usage += " -h --help -- Show this help screen and exit \n"
|
usage += " -h --help -- Show this help screen and exit\n"
|
||||||
usage += " --version -- Show version and exit \n"
|
usage += " --version -- Show version and exit\n"
|
||||||
usage += " --config=<config> -- [default: /etc/gagent/gagent.hcl] \n"
|
usage += " --config=<config> -- [default: /etc/gagent/gagent.hcl]\n"
|
||||||
usage += " --agent=<file> -- filename of the agent to be uploaded to the G'Agent network. Required in push mode \n"
|
usage += " --agent=<file> -- filename of the agent to be uploaded to the G'Agent network. Required in push mode\n"
|
||||||
usage += "\n"
|
usage += "\n"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue