Transaction support on command line tools