{"id":18600349,"url":"https://github.com/sans-arch/task-cli","last_synced_at":"2025-06-20T04:08:09.288Z","repository":{"id":254040143,"uuid":"845241323","full_name":"Sans-arch/task-cli","owner":"Sans-arch","description":"A CLI task tracker application","archived":false,"fork":false,"pushed_at":"2024-08-21T02:02:56.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T04:08:02.724Z","etag":null,"topics":["backend-project","cli","ddd","spring","spring-boot","spring-shell"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sans-arch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-20T21:40:55.000Z","updated_at":"2025-04-18T13:38:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee04a602-705a-4559-99b2-245e1a70f385","html_url":"https://github.com/Sans-arch/task-cli","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"9401fcfb37765b6483f989223657d3274b268d27"},"previous_names":["sans-arch/task-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sans-arch/task-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sans-arch%2Ftask-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sans-arch%2Ftask-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sans-arch%2Ftask-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sans-arch%2Ftask-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sans-arch","download_url":"https://codeload.github.com/Sans-arch/task-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sans-arch%2Ftask-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260878464,"owners_count":23075962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend-project","cli","ddd","spring","spring-boot","spring-shell"],"created_at":"2024-11-07T02:03:45.765Z","updated_at":"2025-06-20T04:08:04.273Z","avatar_url":"https://github.com/Sans-arch.png","language":"Java","readme":"# Task CLI Application 🚀\n\n## Overview 📋\n\nTask CLI is a command-line interface application designed to manage tasks efficiently. Built with Java and Spring Boot, it leverages an in-memory H2 database for persistence and provides a simple yet powerful way to handle task management.\n\n## Features ✨\n\n- **Task Management**: Create, update, and delete tasks.\n- **Task Status**: Track task status (Pending, Completed).\n- **Timestamping**: Automatic creation timestamps for tasks.\n- **In-Memory Database**: Uses H2 for quick setup and testing.\n\n## Technologies Used 🛠️\n\n- **Java 17**\n- **Spring Boot 3.3.2**\n- **Spring Data JPA**\n- **Spring Shell**\n- **H2 Database**\n- **Maven**\n\n## Getting Started 🚀\n\n### Prerequisites 📋\n\n- Java 17 or higher\n- Maven\n\n### Installation 🛠️\n\n1. **Clone the repository**:\n    ```sh\n    git clone https://github.com/Sans-arch/task-cli\n    cd task-cli\n    ```\n\n2. **Build the project**:\n    ```sh\n    mvn clean install\n    ```\n\n3. **Run the application**:\n    ```sh\n    mvn spring-boot:run\n    ```\n\n### Usage 💻\n\nOnce the application is running, you can use the CLI to manage tasks. Here are some basic commands:\n\n- **Create a new task**:\n    ```sh\n    task create \"Your task description\"\n    ```\n\n- **List all tasks**:\n    ```sh\n    task list\n    ```\n\n- **Get an existing task**:\n    ```sh\n    task get \u003ctask-id\u003e\n    ```\n\n- **Update a task status**:\n    ```sh\n    task update \u003ctask-id\u003e --status COMPLETED\n    ```\n\n- **Delete a task**:\n    ```sh\n    task delete \u003ctask-id\u003e\n    ```\n\n### Configuration ⚙️\n\nThe application uses an in-memory H2 database by default. You can configure the database settings in the `src/main/resources/application.properties` file.\n\n```ini\nspring.datasource.url=jdbc:h2:mem:testdb\nspring.datasource.driverClassName=org.h2.Driver\nspring.datasource.username=sa\nspring.datasource.password=password\nspring.jpa.hibernate.ddl-auto=update\nspring.h2.console.enabled=true","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsans-arch%2Ftask-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsans-arch%2Ftask-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsans-arch%2Ftask-cli/lists"}