mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Treat any bare word in the command line as a report name
This commit is contained in:
parent
21684666a6
commit
0a458b5f5b
9 changed files with 177 additions and 101 deletions
|
@ -60,9 +60,13 @@ pub(crate) fn invoke(command: Command, settings: Config) -> Fallible<()> {
|
|||
} => return cmd::modify::execute(&mut w, &mut replica, filter, modification),
|
||||
|
||||
Command {
|
||||
subcommand: Subcommand::List { report },
|
||||
subcommand:
|
||||
Subcommand::Report {
|
||||
report_name,
|
||||
filter,
|
||||
},
|
||||
..
|
||||
} => return cmd::list::execute(&mut w, &mut replica, report),
|
||||
} => return cmd::report::execute(&mut w, &mut replica, report_name, filter),
|
||||
|
||||
Command {
|
||||
subcommand: Subcommand::Info { filter, debug },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue