{"id":17350448,"url":"https://github.com/codecshekhar/spring-boot-commandline-runner-example","last_synced_at":"2025-03-27T12:19:19.799Z","repository":{"id":256993320,"uuid":"857035378","full_name":"CodeCshekhar/spring-boot-commandLine-runner-example","owner":"CodeCshekhar","description":"This repository contains spring-boot-commandLine-runner concepts to illustrate its advantages","archived":false,"fork":false,"pushed_at":"2024-09-13T17:25:58.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T12:19:16.040Z","etag":null,"topics":["application","commandline","runner","spring-boot"],"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/CodeCshekhar.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-09-13T17:11:31.000Z","updated_at":"2024-12-04T07:09:27.000Z","dependencies_parsed_at":"2024-09-14T08:19:10.278Z","dependency_job_id":null,"html_url":"https://github.com/CodeCshekhar/spring-boot-commandLine-runner-example","commit_stats":null,"previous_names":["chandrashekharwagh/spring-boot-commandline-runner","codecshekhar/spring-boot-commandline-runner-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeCshekhar%2Fspring-boot-commandLine-runner-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeCshekhar%2Fspring-boot-commandLine-runner-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeCshekhar%2Fspring-boot-commandLine-runner-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeCshekhar%2Fspring-boot-commandLine-runner-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeCshekhar","download_url":"https://codeload.github.com/CodeCshekhar/spring-boot-commandLine-runner-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245841760,"owners_count":20681196,"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":["application","commandline","runner","spring-boot"],"created_at":"2024-10-15T17:06:59.284Z","updated_at":"2025-03-27T12:19:19.772Z","avatar_url":"https://github.com/CodeCshekhar.png","language":"Java","readme":"# Spring Boot Command-Line Runner\n\nThis project demonstrates how to create a command-line runner using Spring Boot. It provides a simple template for building command-line applications with the power and convenience of the Spring framework.\n\n## Features\n\n- Easy setup with Spring Boot\n- Command-line argument parsing\n- Customizable business logic\n- Dependency injection support\n\n## Prerequisites\n\n- Java JDK 11 or higher\n- Maven 3.6 or higher\n\n## Getting Started\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/Chandrashekharwagh/spring-boot-commandLine-runner.git\n   ```\n\n2. Navigate to the project directory:\n   ```\n   cd spring-boot-commandLine-runner\n   ```\n\n3. Build the project:\n   ```\n   mvn clean package\n   ```\n\n4. Run the application:\n   ```\n   java -jar target/spring-boot-commandLine-runner-1.0.0.jar [arguments]\n   ```\n\n## Usage\n\nThe application accepts command-line arguments. Here's an example:\n\n```\njava -jar target/spring-boot-commandLine-runner-1.0.0.jar --name John --action greet\n```\n\nCustomize the `run` method in the `CommandLineRunnerImpl` class to define your application's behavior.\n\n## Configuration\n\nYou can configure the application using `application.properties` or `application.yml` files. Place these in the `src/main/resources` directory.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecshekhar%2Fspring-boot-commandline-runner-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecshekhar%2Fspring-boot-commandline-runner-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecshekhar%2Fspring-boot-commandline-runner-example/lists"}