Skip to content

Conche/conche-cli-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conche CLI Example

Build Status

This repository is a small example command line interface using the Conche build system. It was mostly generated via conche init.

$ conche init Hello --with-cli --with-tests

Usage

This example provides a command called hello which can output Hello World or Hello and some given names.

$ hello
Hello World

$ hello Kyle
Hello Kyle

$ hello Kyle Katie
Hello Kyle and Katie

Installation

Using Conche, the example can be installed using conche install.

$ conche install

By default, it will install the tool into /usr/local, you can pass in a custom destination using --prefix.

$ conche install --prefix /usr/local/Cellar/hello/HEAD

Running the tests

$ conche test

Running hello without installing

You can use conche to build and run the hello example without installing it to your system as follows:

$ conche build
$ conche exec hello