{"id":55053,"library":"spring-shell","title":"Spring Shell","description":"Spring Shell provides a framework for building interactive command-line applications in Java.","status":"active","version":"1.2.0.RELEASE","language":"java","source_language":null,"source_url":"https://github.com/SpringSource/spring-shell","tags":["spring","shell","cli","command-line"],"install":[{"cmd":"<dependency>\n  <groupId>org.springframework.shell</groupId>\n  <artifactId>spring-shell</artifactId>\n  <version>1.2.0.RELEASE</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.springframework.shell:spring-shell:1.2.0.RELEASE'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ShellComponent","correct":"org.springframework.shell.standard.ShellComponent"}],"quickstart":{"code":"import org.springframework.shell.standard.ShellComponent;\nimport org.springframework.shell.standard.ShellMethod;\n\n@ShellComponent\npublic class MyCommands {\n    @ShellMethod(\"Say hello\")\n    public String hello() {\n        return \"Hello World\";\n    }\n}","lang":"java","description":"Annotate a class with @ShellComponent and methods with @ShellMethod to create CLI commands."},"warnings":[{"fix":"Use org.springframework.shell:spring-shell-starter for modern versions.","message":"Spring Shell 1.x is outdated; consider upgrading to 2.x or 3.x for new projects.","severity":"breaking","affected_versions":"<=1.2.0.RELEASE"}],"env_vars":null,"search_vec":"'applic':14 'build':9 'cli':19 'command':12,21 'command-lin':11,20 'framework':7 'interact':10 'java':16 'line':13,22 'provid':5 'shell':2,4,18 'spring':1,3,17","created_at":"2026-06-15T09:34:58.089823+00:00","updated_at":"2026-06-15T09:34:58.089823+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/SpringSource/spring-shell","github":"https://github.com/SpringSource/spring-shell","docs":"https://appdoc.app/artifact/org.springframework.shell/spring-shell/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cli"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}