After a quick look at abrt-cli source, I think this can be approached
We add -D DIR option which specifies which directory to list.
It can be used more than once. If it is not specified,
abrt-cli defaults to -D /var/spool/abrt -D $HOME/abrt/spool.
With "abrt-cli --list", dumps from all these directories
When "abrt-cli --report DUMP_DIR" is run and abrt-cli detects
that it can't lock DUMP_DIR for writing, it informs the user:
DUMP_DIR is not writable.
Do you want to copy it to $HOME/abrt/spool? (y/n)
(The directory to copy to can be specified by another option,
-W DIR; or we can have a convention that the DIR from the
first -D DIR option is used)
When "abrt-cli --delete DUMP_DIR" is run and abrt-cli detects
that it can't lock DUMP_DIR for writing, it tries to delete
the directory through dbus call to abrtd.
I am proceeding with implementing it. But don't hesitate
to provide your comments on the above.
Maybe I miss some problem?