Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sieep-coding/laptop-cli
This is a tool to manage device donations to my non-profit.
https://github.com/sieep-coding/laptop-cli
cli golang sqlite
Last synced: 7 days ago
JSON representation
This is a tool to manage device donations to my non-profit.
- Host: GitHub
- URL: https://github.com/sieep-coding/laptop-cli
- Owner: Sieep-Coding
- License: unlicense
- Created: 2024-09-10T00:05:07.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-14T22:14:21.000Z (3 months ago)
- Last Synced: 2024-11-08T01:39:31.741Z (about 2 months ago)
- Topics: cli, golang, sqlite
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laptop Donation Tracker CLI
Laptop Donation Tracker is a Command Line Interface (CLI) application built with Go and SQLite. It helps nonprofits manage laptop donations, track repairs, and distribute devices to recipients.
## Features
- **Add a laptop donation**: Track donated laptops with donor name and specs.
- **List donated laptops**: View a list of all donated laptops, including their status.
- **Log repairs**: Log repairs performed on a laptop and track the status of repairs.
- **Update laptop status**: Update the status of a laptop (e.g., "under repair," "distributed").
- **List repairs**: View all repairs logged for laptops.
- **Add a recipient**: Assign a recipient to a donated laptop.
- **List recipients**: Display a list of all recipients and the laptops they received.
- **Delete a laptop**: Remove a laptop from the system.
- **Delete a repair**: Remove a repair record.## Requirements
- Go 1.16 or later
- SQLite 3# HELP
```
Usage:
laptop-cli [command]Available Commands:
add-laptop Add a new laptop donation
add-recipient Add a recipient for a donated laptop
completion Generate the autocompletion script for the specified shell
delete-laptop Delete a laptop from the system
delete-repair Delete a repair record
help Help about any command
list-laptop List all donated laptops
list-recipients List all recipients and the laptops they received
list-repairs List all repairs
log-repair Log a repair for a laptop
update-laptop-status Update the status of a laptop (e.g., 'under repair', 'distributed')Flags:
-h, --help help for laptop-cliUse "laptop-cli [command] --help" for more information about a command.
```