0.01
No commit activity in last 3 years
No release in over 3 years
pretends you could type really fast
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 10.1

Runtime

~> 1.5
~> 5.2
~> 2.0
~> 1.3
~> 1.0
 Project Readme

Computering

Computering

Usage

Gem Version

Installing the gem:

gem install computering

create a presentation file

echo "
headline 'computering'
paragraph 'is super easy'
command 'echo to use'
link 'see yourself', 'https://github.com/phoet/computering#usage'
" > preso.rb

and run it with the computering command:

computering preso.rb

DSL

Please have a look at the dsl.rb file and the examples folder for how to use the DSL.

Supported commands are:

  • headline (underlined text output)
  • paragraph (simple text output)
  • link (opens a page via open)
  • command (runs a shell command and captures the output)
  • code (syntaxhighlights ruby code)
  • spec (runs inline minitest-spec)

TODO

  • syntax-check
  • dry-mode
  • config speed

License

"THE (extended) BEER-WARE LICENSE" (Revision 42.0815): phoet contributed to this project.

As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me some beers in return.