Skip to content

Releases: ktorio/ktor-cli

0.3.1

21 Nov 10:42
5faa4f6
Compare
Choose a tag to compare

Published 21 November 2024

Improvements

  • Improve error messages line wrapping (KTOR-7796)
  • Instant error message when project directory with default name does exist and not empty (KTOR-7782)
  • Ktor CLI: Make project name and project directory name in location one entity (KTOR-7771)
  • Add link to the web project generator into README.md (KTOR-7783)
  • Ktor CLI: Add check for forbidden characters for project name in interactive mode (KTOR-7769)
  • Ktor CLI: Make verbs for adding plugins consistent (KTOR-7770)
  • Extract messages for localization and proofreading (KTOR-7764)

0.3.0

15 Nov 10:39
bfd6d40
Compare
Choose a tag to compare

Published 15 November 2024

Features

  • Add interactive mode for generating new projects (KTOR-7758)

0.2.1

20 Sep 12:17
6571554
Compare
Choose a tag to compare

Published 20 September 2024

0.2.0

06 Sep 12:39
31bd486
Compare
Choose a tag to compare

Published 06 September 2024

An initial version of the Ktor CLI generator rewritten in Go.

2.1.0-beta-1

28 Jul 02:53
Compare
Choose a tag to compare
2.1.0-beta-1 Pre-release
Pre-release

Ktor CLI

Ktor CLI is a command-line tool that brings the capability to create and run Ktor applications from the command line.

Install CLI tools

macOS with Homebrew:

You can install Ktor CLI tools on macOS using Homebrew as follows:

  1. Add a Ktor repository using the brew tap command:
    brew tap ktorio/ktor
    
  2. Install Ktor CLI tools using brew install:
    brew install --build-from-source ktor
    

Linux or macOs without Homebrew

  1. Make sure you have libcurl and unzip on your system
  2. Move the release binary (ktor-mac or ktor-linux) to /usr/local/bin folder and change the name to ktor:
    mv ./ktor-linux /usr/local/bin/ktor
  3. Make it executable: sudo chmod +x /usr/local/bin/ktor
  4. For macOs you have to also allow the system to execute the binary from third-party developer. In order to do this you have to open it with Finder using the context menu "Open":

Screen Shot 2022-07-28 at 14 32 18

And then click "Open" in the dialog.

Screen Shot 2022-07-28 at 14 33 22

After doing so, your binary can be executed from comand line. 4. execute `PATH=$PATH:/usr/local/bin` 5. Now you can use `ktor` command

0.0.1-tmp-3

30 Jun 01:02
Compare
Choose a tag to compare
0.0.1-tmp-3 Pre-release
Pre-release
Add fake jar task for snapcraft publication

0.0.1-tmp

17 Jun 17:24
Compare
Choose a tag to compare
0.0.1-tmp Pre-release
Pre-release

Temporary release

0.0.1-tmp-2

30 Jun 01:01
bee37c6
Compare
Choose a tag to compare
0.0.1-tmp-2 Pre-release
Pre-release
 KTOR-3420 Fix compilation and tests (#2)

* KTOR-3420 Fix compilation and tests

* KTOR-3922 Add support for macOs M1 target in CLI generator

* KTOR-3929 Support colored logs for errors and success msgs

* Rename run to start

* Fix test