Swiftpack.co - Package - vapor/console-kit

Github

link
Stars: 146
Help us keep the lights on

Dependencies

Used By

Total: 1

Releases

4.0.0-alpha.1 - May 29, 2019

More information on Vapor 4 alpha releases:

https://medium.com/@codevapor/vapor-4-alpha-1-releases-begin-94a4bc79dd9a

API Docs:

https://api.vapor.codes/console-kit/master/ConsoleKit/index.html

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)