{"id":13765858,"url":"https://github.com/hellokaton/blade-cli","last_synced_at":"2025-12-15T09:20:21.398Z","repository":{"id":57541838,"uuid":"106803842","full_name":"hellokaton/blade-cli","owner":"hellokaton","description":"🐳 blade mvc cli application","archived":false,"fork":false,"pushed_at":"2018-06-23T15:59:54.000Z","size":26,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T18:05:44.540Z","etag":null,"topics":["blade","cli","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellokaton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-13T09:19:15.000Z","updated_at":"2021-10-18T13:57:36.000Z","dependencies_parsed_at":"2022-09-09T02:50:34.903Z","dependency_job_id":null,"html_url":"https://github.com/hellokaton/blade-cli","commit_stats":null,"previous_names":["biezhi/blade-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fblade-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fblade-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fblade-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokaton%2Fblade-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellokaton","download_url":"https://codeload.github.com/hellokaton/blade-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253485402,"owners_count":21916012,"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":["blade","cli","golang"],"created_at":"2024-08-03T16:00:47.336Z","updated_at":"2025-12-15T09:20:16.095Z","avatar_url":"https://github.com/hellokaton.png","language":"Go","readme":"# Blade Cli\n\n## Install\n\n**For MacOSX**\n\n```bash\nbrew tap biezhi/tap \u0026\u0026 brew install blade\n```\n\nupgrade \n\n```bash\nbrew upgrade blade\n```\n\n**For Windows**\n\nDownload [blade] binary, copy `blade` to `c:/windows/system32`\n\nupgrade cli\n\n```bash\nblade upgrade\n```\n\n## Usage\n\n```bash\n» blade\n\n    __, _,   _, __, __,\n    |_) |   /_\\ | \\ |_\n    |_) | , | | |_/ |\n    ~   ~~~ ~ ~ ~   ~~~\n    :: Blade Cli :: (v0.0.1)\n\n    Inspired by https://lets-blade.com\n\nOptions:\n\n  -h, --help      display help information\n  -v, --version   display blade cli version\n\nCommands:\n\n  help    display help information\n  new     create blade application by template\n  serve   start blade application\n  build   build application as jar or dir\n```\n\n## Example\n\n**Create Application**\n\n```bash\n» blade new hello\n? please input package name (e.g: com.bladejava.example): com.bladedemo.hello\n\n? select the build tool:  [Use arrows to move, type to filter]\n❯ Maven\n  Gradle\n\n? select the type of site you built:  [Use arrows to move, type to filter]\n❯ Web Application\n  Restful API\n\n⠳ creating project, please wait...\n\ncreate file success: hello/pom.xml\ncreate file success: hello/.blade\ncreate file success: hello/package.xml\ncreate file success: hello/src/main/resources/app.properties\ncreate file success: hello/src/main/resources/templates/index.html\ncreate file success: hello/src/main/java/com/bladejava/example/Application.java\ncreate file success: hello/src/main/java/com/bladejava/example/controller/IndexController.java\n\napplication hello create successful!\n\n    $ cd hello\n    $ blade serve\n```\n\n**Run Application**\n\ncd app dir\n\n```bash\n» blade serve\n[INFO] Scanning for projects...\n[INFO]\n[INFO] ------------------------------------------------------------------------\n[INFO] Building hello 0.0.1\n[INFO] ------------------------------------------------------------------------\n[INFO]\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hello ---\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\n[INFO] Copying 2 resources\n[INFO]\n[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ hello ---\n[INFO] Compiling 2 source files to /Users/biezhi/workspace/golang/src/github.com/biezhi/blade-cli/hello/target/classes\n[INFO]\n[INFO] --- exec-maven-plugin:1.6.0:java (default-cli) @ hello ---\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : environment.jdk.version    » 1.8.0_101\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : environment.user.dir       » /Users/biezhi/workspace/golang/src/github.com/biezhi/blade-cli/hello\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : environment.java.io.tmpdir » /var/folders/y7/fdpr6jzx1rs6x0jmty2h6lvw0000gn/T/\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : environment.user.timezone  » Asia/Shanghai\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : environment.file.encoding  » UTF-8\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : environment.classpath      » /Users/biezhi/workspace/golang/src/github.com/biezhi/blade-cli/hello/target/classes/\n\n                                         __, _,   _, __, __,\n                                         |_) |   /_\\ | \\ |_\n                                         |_) | , | | |_/ |\n                                         ~   ~~~ ~ ~ ~   ~~~\n                                     :: Blade :: (v2.0.8-BETA3)\n\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]            c.b.m.r.RouteMatcher : » Add route  GET     /\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : » Register bean: [com.blade.Environment@137a568d, com.bladejava.example.controller.IndexController@62c7c070]\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : » Watched environment: true\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : » Use NioEventLoopGroup\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : » Blade initialize successfully, Time elapsed: 275 ms\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : » Blade start with  0.0.0.0:9000\n2018/06/02 18:15:42  INFO [          _(:3」∠)_ ]             c.b.s.n.NettyServer : » Open browser access http://127.0.0.1:9000 ⚡\n```\n\n## License\n\n[MIT](LICENSE)","funding_links":[],"categories":["Command Line"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokaton%2Fblade-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellokaton%2Fblade-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokaton%2Fblade-cli/lists"}