Skip to content

GoAgencyOps is a Golang-powered CLI for streamlined agency management, allowing users to effortlessly handle representative data, create, edit, and track agency information. Simplify operations with this efficient and intuitive command-line interface.

License

Notifications You must be signed in to change notification settings

KiraTheGenius/GoAgencyOps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoAgencyOps

Overview

This project is a small command-line interface (CLI) program written in Golang to manage representatives and their information in different regions of a country. The CLI supports the following flags: command and region.

Supported Flags

region: Specifies the region (e.g., Tehran, Isfahan, Shiraz, New York) for which the command will be executed.

command: Specifies the action to be performed. It can take one of the following values:

Command Discription
list Lists the representatives in the specified region.
get Retrieves detailed information about a specific representative in the given region. Requires the user to provide the representative's ID.
create Creates a new representative with information such as name, address, phone number, membership date, and the number of employees.
edit Edits the information of an existing representative. Requires the user to input the ID of the representative through standard input.
status Displays the number of representatives and total employees in the specified region.

Usage

Before starting, make sure to create a data folder in the root directory of the project.

go run agencyCliApp.go --command <command> --region <region>

or

./cliApp --command <command> --region <region>

About

GoAgencyOps is a Golang-powered CLI for streamlined agency management, allowing users to effortlessly handle representative data, create, edit, and track agency information. Simplify operations with this efficient and intuitive command-line interface.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages