Swiftpack.co - Package - vapor/console

Github

link
Stars: 109
Help us keep the lights on

Dependencies

Releases

3.0.1 - Apr 20, 2018

Fixed:

  • Console.output(...) now correctly defaults to printing a newline (#70).

3.0.0 - Apr 5, 2018

💻 Console 3.0 (APIs for creating interactive CLI tools) is here!

Getting Started: https://docs.vapor.codes/3.0/console/getting-started/ https://docs.vapor.codes/3.0/command/getting-started/ https://docs.vapor.codes/3.0/logging/getting-started/

API Docs: https://api.vapor.codes/console/latest/Console https://api.vapor.codes/console/latest/Command https://api.vapor.codes/console/latest/Logging


Changes since final pre-release.

New:

  • Added ConsoleText type for creating collections of differently styled strings. This makes it possible to output text with interpolated styles in one call to console.output(_:)
  • Cleaned up the loading and progress bars, now using an ActivityIndicator protocol.
  • Added lots of missing docblocks, made some APIs internal where possible to reduce API surface.

Milestone: 3.0.0

3.0.0-rc.2.2 - Mar 27, 2018

New:

Fixed:

  • Makes console.confirm non-throwing

API Docs: https://api.vapor.codes/console/3.0.0-rc.2.2/Command/

Milestone: 3.0.0-rc.2.2

3.0.0-rc.2.1.1 - Mar 27, 2018

New:

  • Adds support for -y, --yes and -n, --no flags for auto-answering console confirmations.

3.0.0-rc.2.1 - Mar 25, 2018

New:

  • Adds a commandLine settable computed property to Environment for parsing the environment's CLI arguments.

API Docs: https://api.vapor.codes/console/3.0.0-rc.2.1/Console/ https://api.vapor.codes/console/3.0.0-rc.2.1/Command/

Milestone: 3.0.0-rc.2.1