carlo-version 1.0.0

Version for the simple interpreted programming language Carlo.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Defines the VERSION subcommand.

use carlotk::prelude::*;

/// Help menu
const HELP: &str = include_str!("../help_version.txt");

/// Provide help to the user
pub fn helpme() {
    printhelp(HELP);
}

pub fn version(_args: CliArgs) {
    println!("{}", "The Carlo Language".truecolor(20, 146, 255).bold());
    println!("Version {}", VERSION);
}