Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Kitura/kitura-cli
⌨️ Kitura command-line interface
https://github.com/Kitura/kitura-cli
kitura
Last synced: 4 months ago
JSON representation
⌨️ Kitura command-line interface
- Host: GitHub
- URL: https://github.com/Kitura/kitura-cli
- Owner: Kitura
- License: apache-2.0
- Created: 2017-10-19T09:35:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-13T06:09:16.000Z (almost 4 years ago)
- Last Synced: 2024-05-21T06:06:34.458Z (9 months ago)
- Topics: kitura
- Language: Go
- Homepage: http://www.kitura.dev
- Size: 110 KB
- Stars: 13
- Watchers: 20
- Forks: 7
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kitura command-line interface
This Swift package provides a `kitura` command-line interface, to simplify the process of creating [Kitura](https://github.com/Kitura/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](https://brew.sh):
```
$ 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 `` for the version of the CLI you are installing.
On Mac:
```
$ curl -LO https://github.com/Kitura/kitura-cli/releases/download//kitura-cli__darwin.tar.gz
$ tar -xzf kitura-cli__darwin.tar.gz
$ sudo mv darwin-amd64/kitura /usr/local/bin/
```On Linux:
```
curl -LO https://github.com/Kitura/kitura-cli/releases/download//kitura-cli__amd64.deb
sudo dpkg -i kitura-cli__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 projectUSAGE: kitura
OPTIONS:
-h, --help Show help information.SUBCOMMANDS:
init Initialize a new kitura projectSee 'kitura help ' for detailed help.
```## Release process
Instructions on releasing a new version of the kitura-cli can be found [here](Release-Process.md).