Skip to content

Frish/eft

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[]: {{{1

File        : README.md
Maintainer  : Felix C. Stegerman <flx@obfusk.net>
Date        : 2013-08-02

Copyright   : Copyright (C) 2013  Felix C. Stegerman
Version     : v0.2.0.SNAPSHOT

[]: }}}1

Description

[]: {{{1

eft - ruby + whiptail

Eft is a ruby dsl that wraps whiptail [1] to display dialog boxes; see example.rb for usage examples.

Eft.ask('What is your name?') do |q|
  q.on_ok { |name| puts "Hello, #{name}!" }
end

[]: }}}1

Specs & Docs

[]: {{{1

$ rake spec   # doesn't work yet; see TODO
$ rake docs

[]: }}}1

TODO

  • specs! (how to automate tests of whiptail? - I don't know!)
  • --noitem?
  • choose between whiptail and dialog?
  • extend w/ dialog's other dialogs?
  • remove dependency on obfusk-util?

License

[]: {{{1

GPLv2 [2] or EPLv1 [3].

[]: }}}1

References

[]: {{{1

[1] Newt (and whiptail) --- http://en.wikipedia.org/wiki/Newt_(programming_library)

[2] GNU General Public License, version 2 --- http://www.opensource.org/licenses/GPL-2.0

[3] Eclipse Public License, version 1 --- http://www.opensource.org/licenses/EPL-1.0

[]: }}}1

[]: ! ( vim: set tw=70 sw=2 sts=2 et fdm=marker : )

About

[TODO] eft - ruby + whiptail

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published