Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utkarshm-hub/go_student_db
A Command Line Tool to manage Students Database
https://github.com/utkarshm-hub/go_student_db
cobra-cli golang students-data
Last synced: 23 days ago
JSON representation
A Command Line Tool to manage Students Database
- Host: GitHub
- URL: https://github.com/utkarshm-hub/go_student_db
- Owner: UtkarshM-hub
- License: other
- Created: 2022-09-25T07:31:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-28T13:18:24.000Z (over 2 years ago)
- Last Synced: 2024-11-07T20:56:23.458Z (3 months ago)
- Topics: cobra-cli, golang, students-data
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go_Student_DB
It is command line tool to manage student database.The tool provides various options like Add, Delete, Update and List students. The data of the students is stored in a file in local machine.## #Installation Guide
* Clone this repo into your local directory using following command
```bash
git clone [email protected]:UtkarshM-hub/Go_Student_DB.git
```
* Run following command
```bash
go mod download && go build .
```
### Congratulations🥳🎊 you've completed the setup of GO_Student_DB on your local machine## #Commands
### 1. student
* This is the root command of the command line tool
* It displays the list of commands and the example of help command
![Screenshot (119)](https://user-images.githubusercontent.com/70505181/192771769-cc63b42b-93ea-4f8b-aef3-ac762a86fe49.png)
### 2. Help
* Gives information about the command
* For Example ```student help AddCmd``` gives information about Add command
![up4](https://user-images.githubusercontent.com/70505181/192785854-943571b9-b7fe-4b1b-9e89-a05a5039bcf6.png)### 3. Other commands
* This contains all the reamining commands like ```Add```, ```Del```, ```Update``` and ```List```
* How to use each command is exaplanind in the following
* Add command- ```student Add```
* List command- ```student List```
* Update command- ```student Update ```
* Del command- ```student Del ```
#### NOTE- You can see index number of student by using list command
![up3](https://user-images.githubusercontent.com/70505181/192788251-ea5af2a0-71b9-43ca-9be4-a673c81998a1.png)