Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 924 Bytes

File metadata and controls

43 lines (28 loc) · 924 Bytes

rust-terminal-app-template

This template is made to show how to make a rust terminal application. The main purpose of this application is to provide a basic template for writing command line applications.

This template provides logging and cli arguments. The user can enable/disable logging. The program will write a lorem ipsum snippet to the designated file.

Prerequisites

You must install rust to build this project

See rust-lang website

Building

First clone the project

git clone https://www.github.com/RaspberryProgramming/rust-terminal-app-template

Next, cd into the folder you just cloned

cd rust-terminal-app-template

Use cargo to build the project

cargo build

You can build for release

cargo build --release

To install as a command run

cargo install --path .