blob: d296aa20103f946576a4787f541eb09e4d90f59f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<html>
<head>
<title> HighLine </title>
<style type="text/css"> @import url(highline.css); </style>
</head>
<body>
<div id="container">
<div id="header"></div>
<div id="content">
<h2>HighLine is about…</h2>
<h3>Saving time.</h3>
<p>Command line interfaces are meant to be easy. So why shouldn’t building
them be easy, too? HighLine provides a solid toolset to help you get
the job done cleanly so you can focus on the real task at hand,
<em>your task.</em></p>
<h3>Clean and intuitive design.</h3>
<p>Want to get a taste for how HighLine is used? Take a look at this simple
example, which asks a user for a zip code, automatically does validation,
and returns the result:</p>
<pre><code>zip = ask("Zip? ") { |q| q.validate = /\A\d{5}(?:-?\d{4})?\Z/ }</code></pre>
<h3>Hassle-free Installation.</h3>
<p>Installation is easy via RubyGems. Simply enter the command:</p>
<pre><code>sudo gem install highline</code></pre>
<p>and you’ll be on your way! Of course, manual installation is an option,
too.</p>
</div>
<div id="sidebar">
<ul>
<li><a href="http://rubyforge.org/projects/highline">Project Page</a></li>
<li><a href="http://highline.rubyforge.org/doc">Documentation</a></li>
<li><a href="https://github.com/JEG2/highline">Source</a></li>
<li><a href="mailto:james@grayproductions.net">Contact</a></li>
</ul>
</div>
<div id="footer">
Created by James Edward Gray II and Gregory Brown
</div>
</div>
</body>
</html>
|