GithubHelp home page GithubHelp logo

isabella232 / kitura-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kitura/kitura-cli

0.0 0.0 0.0 113 KB

⌨️ Kitura command-line interface

Home Page: http://www.kitura.dev

License: Apache License 2.0

Shell 7.35% Go 54.62% Swift 31.63% Makefile 6.40%

kitura-cli's Introduction

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.

kitura-cli's People

Contributors

dannys42 avatar djones6 avatar dokun1 avatar dunncoding avatar futurejones avatar ianpartridge avatar kyemaloy97 avatar seabaylea avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.