swiftly icon indicating copy to clipboard operation
swiftly copied to clipboard

Logging support and `--verbose` option

Open patrickfreed opened this issue 3 years ago • 2 comments

swiftly currently prints some basic amount of human readable output, but we should also introduce the ability to log output using swift-log. We should also support a --verbose option to control how much output is included.

patrickfreed avatar Oct 26 '22 15:10 patrickfreed

The verbose option is coming with #177 so that the default level is just to provide the high level actions that swiftly is taking, not the gpg messages, installer, etc. Choosing verbose would display all of those. Full logging might include the individual system commands that are executed, exit status codes, and other details.

cmcgee1024 avatar Nov 25 '24 16:11 cmcgee1024

These subcommands don't yet use the verbose flag at all:

  • Proxy (probably not relevant, since the command-line arguments are for the destination binary, not swiftly itself)
  • ListAvailable
  • List
  • Unlink
  • Run
  • Use

cmcgee1024 avatar May 15 '25 17:05 cmcgee1024