This commit is contained in:
Jeff 2024-01-17 12:48:51 -05:00
parent 74dd455ae4
commit 5fada12165

View File

@ -1,4 +1,5 @@
//! Command line interface for the dust programming language.
use clap::{Parser, Subcommand};
use rustyline::{
completion::FilenameCompleter,
@ -25,10 +26,11 @@ struct Args {
#[arg(short, long)]
input: Option<String>,
/// A path to file whose contents will be assigned to the "input" variable.
/// File whose contents will be assigned to the "input" variable.
#[arg(short = 'p', long)]
input_path: Option<String>,
/// Command for alternate functionality besides running the source.
#[command(subcommand)]
cli_command: Option<CliCommand>,