mirror of
https://github.com/kdheepak/taskwarrior-tui.git
synced 2025-08-24 05:26:42 +02:00
feat: Update cli interface
This commit is contained in:
parent
d8176e01df
commit
8342ce05af
8 changed files with 137 additions and 13 deletions
24
src/cli.rs
24
src/cli.rs
|
@ -8,12 +8,34 @@ pub fn generate_cli_app() -> App<'static> {
|
|||
.version(APP_VERSION)
|
||||
.author("Dheepak Krishnamurthy <@kdheepak>")
|
||||
.about("A taskwarrior terminal user interface")
|
||||
.arg(
|
||||
Arg::new("data")
|
||||
.short('d')
|
||||
.long("data")
|
||||
.value_name("FOLDER")
|
||||
.help("Sets the data folder for taskwarrior-tui")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("config")
|
||||
.short('c')
|
||||
.long("config")
|
||||
.value_name("FOLDER")
|
||||
.help("Sets the config folder for taskwarrior-tui")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("taskdata")
|
||||
.long("taskdata")
|
||||
.value_name("FOLDER")
|
||||
.help("Sets the .task folder using the TASKDATA environment variable for taskwarrior")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("taskrc")
|
||||
.long("taskrc")
|
||||
.value_name("FILE")
|
||||
.help("Sets a custom config file")
|
||||
.help("Sets the .taskrc file using the TASKRC environment variable for taskwarrior")
|
||||
.takes_value(true),
|
||||
)
|
||||
.arg(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue