All Projects → Kitura → kitura-cli

Kitura / kitura-cli

Licence: Apache-2.0 license
⌨️ Kitura command-line interface

Programming Languages

go
31211 projects - #10 most used programming language
swift
15916 projects
shell
77523 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to kitura-cli

KituraKit
Swift client library for using Codable routes with Kitura
Stars: ✭ 58 (+346.15%)
Mutual labels:  kitura
now-swift-example
Example for use Kitura framework and swift lang with https://zeit.co/now.
Stars: ✭ 18 (+38.46%)
Mutual labels:  kitura
Kitura-NIO
A networking library for Kitura, based on SwiftNIO
Stars: ✭ 35 (+169.23%)
Mutual labels:  kitura
Kitura
A Swift web framework and HTTP server.
Stars: ✭ 7,533 (+57846.15%)
Mutual labels:  kitura
Kitura-GraphQL
Swift GraphQL HTTP Middleware for Kitura
Stars: ✭ 28 (+115.38%)
Mutual labels:  kitura
Kitura-CouchDB
CouchDB adapter for Kitura
Stars: ✭ 50 (+284.62%)
Mutual labels:  kitura
swift-server-app
Server app with Swift and Docker
Stars: ✭ 18 (+38.46%)
Mutual labels:  kitura
Kitura-HelloWorld-iOS
A Hello World example of running Kitura on iOS
Stars: ✭ 55 (+323.08%)
Mutual labels:  kitura

Kitura command-line interface

This Swift package provides a kitura command-line interface, to simplify the process of creating Kitura applications.

(Note: this Swift version is still an early work-in-progress. Please check again in a bit for more features)

Installation on macOS (via Homebrew)

Kitura's CLI may be installed using Homebrew:

$ brew tap kitura/kitura
$ brew install kitura

Installation (simple)

You can install (either on Mac or Linux) with this one-liner:

$ curl -fsSL https://github.com/Kitura/kitura-cli/releases/latest/download/install.sh | sudo bash

The kitura binary will be placed in your /usr/local/bin directory.

Installation (manual)

If you'd prefer not to use a script, the binary can be installed manually by downloading the release binary from GitHub. In the following commands, substitute <release> for the version of the CLI you are installing.

On Mac:

$ curl -LO https://github.com/Kitura/kitura-cli/releases/download/<release>/kitura-cli_<release>_darwin.tar.gz
$ tar -xzf kitura-cli_<release>_darwin.tar.gz
$ sudo mv darwin-amd64/kitura /usr/local/bin/

On Linux:

curl -LO https://github.com/Kitura/kitura-cli/releases/download/<release>/kitura-cli_<release>_amd64.deb
sudo dpkg -i kitura-cli_<release>_amd64.deb

Usage

To start a new project:

kitura init MyProject
cd MyProject
swift build
swift run

Default help message:

OVERVIEW: A utility for initializing a Kitura project

USAGE: kitura <subcommand>

OPTIONS:
  -h, --help              Show help information.

SUBCOMMANDS:
  init                    Initialize a new kitura project

  See 'kitura help <subcommand>' for detailed help.

Release process

Instructions on releasing a new version of the kitura-cli can be found here.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].