Swiftpack.co - Package - vapor/console

Github

link
Stars: 144
Help us keep the lights on

Dependencies

Releases

3.1.1 - Mar 22, 2019

Fixed

  • Only extract a short flag if the raw flag string is -<short> (https://github.com/vapor/console/pull/94)

3.1.0 - Nov 8, 2018

New:

  • Created CustomActivity activity indicator type. this lets you easily create custom activity indicators with a series of characters that are looped over for the animation.
  • Added a customActivity method to the Console protocol, which initializes a new CustomActivity instance.
let indicator = context.console.customActivity(frames: ["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"])
_ = try indicator.start(on: context.container)
// Do something that takes a long time.
indicator.succeed()

3.0.4 - Nov 6, 2018

Only logs command help when there are errors in command usage, no longer logs errors in the command execution.

3.0.3 - Oct 30, 2018

Fixed:

  • Fixes an issue where ephemeral messages would not clear correctly. (#80)

2.3.2 - May 30, 2018

Fixed:

  • Eliminate Swift 4.1 deprecation warnings.