Swiftpack.co - Package - vapor/console

Github

link
Stars: 128
Help us keep the lights on

Dependencies

Releases

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.

3.0.2 - May 2, 2018

New:

  • -e short flag now supported for setting environment.