Skip to content

Releases: lordofscripts/goask

v1.2.1

Choose a tag to compare

@lordofscripts lordofscripts released this 20 May 23:13

What's New

  • Fixed bug in goask.InputSelection.GetTagValue() that broken when used in dynamic questionaires or multiple-choice.

Well, I needed that for my ongoing Caesar project.

Change Log

Full Changelog: v1.1.2...v1.2.0

Full Changelog: v1.2.0...v1.2.1

v1.2.0

Choose a tag to compare

@lordofscripts lordofscripts released this 20 May 15:34

What's New

  • goask.ITagValue interface which is supported by goask.ICurious
  • You can now attach a value tag (different from the question number) to instances like InputSelection, InputRequest[T], SmartQuestion, the multiple choices, etc.
  • Updated demo applets
  • Now using Semantic Versioning

Well, I needed that for my ongoing Caesar project.

Change Log

Full Changelog: v1.1.2...v1.2.0

v1.1.2

Choose a tag to compare

@lordofscripts lordofscripts released this 20 May 00:37

Changes

  • The hand that rocks the cradle points to the answer during input selection. Simply indent it for aesthetic purposes.
  • Bumped version to v1.1.2
    That's all, I am using it in a big CLI project that required Interactive Ask & Answer, worked like a charm.

Change Log

Full Changelog: v1.1.1...v1.1.2

v1.1.1

Choose a tag to compare

@lordofscripts lordofscripts released this 11 Dec 21:19

Forgot to update version.go to report the correct version. There seem to be some other problem as well because the project where I use this module keeps on getting an old version.

Full Changelog: v1.1...v1.1.1

v1.1

Choose a tag to compare

@lordofscripts lordofscripts released this 11 Dec 20:10

Added tty package which is a collection of simple functions for using the console/terminal with ANSI colors and cursor addressing.

  • Print beautifully on the console using colors (if supported by terminal). See cmd/demo-tty
  • Cursor addressing on the console terminal
  • A simple tty.ShowProgressBar() function with 3 progress bar styles.

Change Log

Full Changelog: v1.0.2...v1.1

v1.0.2

Choose a tag to compare

@lordofscripts lordofscripts released this 10 Dec 20:59
  • Introduced a predefined final state fsm.DefaultFinalState with predefined Id fsm.StateFinal
  • Github repository renamed from github.com/lordofscripts/go-ask to github.com/lordofscripts/goask because it was giving compilation problems when used in other projects
  • Changed all references from go-ask to goask
  • Updated the cmd/demo-ivr sample application to use two final states, one defined in the app and the other the predefined version.

Change Log

Full Changelog: v1.0.1...v1.0.2

v1.0.1

Choose a tag to compare

@lordofscripts lordofscripts released this 10 Dec 16:56

Maintenance release to update go.mod to declare the module properly so that it could get go get from GitHub.

Full Changelog: v1.0...v1.0.1

v1.0

Choose a tag to compare

@lordofscripts lordofscripts released this 05 Dec 22:24

Initial Release

  • Let your console applications do question/answer easily for character/rune, string or integer.
  • Lets you create multiple-choice questions (see example in cmd/demo-ask)
  • Predefined interfaces
  • Includes a simple Finite State Machine implementation that is suitable for complex questionaires with varying workflows (see example in cmd/demo-ivr)

Change Log

Full Changelog: https://github.com/lordofscripts/go-ask/commits/v1.0