-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
240 lines (152 loc) · 6.44 KB
/
index.html
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<base href="http://localhost:1313/">
<title>Swiftline</title>
<link href="/css/bootstrap.min.css" rel="stylesheet">
<link href="/css/landing-page.css" rel="stylesheet">
<link href="/font-awesome-4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="page-scroll navbar-brand" href="#intro">Swiftline</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a class="page-scroll" href=http://github.com/swiftline/swiftline>Github</a>
</li>
<li>
<a class="page-scroll" href=http://swiftline.github.io/Swiftline/index.html>Docs</a>
</li>
<li>
<a class="page-scroll" href=http://nsomar.com>NSOmar</a>
</li>
</ul>
</div>
</div>
</nav>
<section id="intro">
<div class="intro-header">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="intro-message">
<h1>Swiftline</h1>
<h3>Swiftline is a set of tools to help you create command line applications.</h3>
<hr class="intro-divider">
</div>
</div>
</div>
</div>
</div>
</section>
<section id="about" class="container content-section text-center">
</section>
<section id="services">
<div class="content-section-a">
<div class="container">
<div class="row">
<div>
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Whats included</h2>
<p>Swiftline consists the following:</p>
<ul>
<li><strong>Colorize</strong>: Helps adding colors to strings written to the terminal</li>
<li><strong>Ask</strong>: Choose and agree: Easily create prompt for asking the user more info</li>
<li><strong>Run</strong>: A quick way to run an external command and read its standard output and standard error.</li>
<li><strong>Env</strong>: Read and write environment variables <a href="http://ruby-doc.org/core-2.2.0/ENV.html">ruby-flavored</a></li>
<li><strong>Args</strong>: Parses command line arguments and return a hash of the passed flags</li>
<li>More components to come….</li>
</ul>
</div>
</div>
</div>
</div>
<div class="content-section-b">
<div class="container">
<div class="row">
<div>
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Installation</h2>
<p>You can install Swiftline using cocoapods,</p>
<h3 id="cocoapods:4c40a97dcf30b230e73eabba1323c21c">Cocoapods</h3>
<pre><code>use_frameworks!
pod 'Swiftline'
</code></pre>
<h3 id="carthage:4c40a97dcf30b230e73eabba1323c21c">Carthage</h3>
<pre><code>github 'Swiftline/Swiftline'
</code></pre>
<h3 id="cocoapods-rome-plugin:4c40a97dcf30b230e73eabba1323c21c">Cocoapods + Rome plugin</h3>
<p>If you want to use swiftline in a script you can use <a href="https://github.com/neonichu/Rome">Rome</a> cocoapod plugin. This plugin builds the framework from the pod file and place them in a Rome directory.</p>
<pre><code>platform :osx, '10.10'
plugin 'cocoapods-rome'
pod 'Swiftline'
</code></pre>
<h3 id="examples:4c40a97dcf30b230e73eabba1323c21c">Examples</h3>
<p>A list of examples can be found on <a href="https://github.com/oarrabi/Swiftline/tree/master/Examples">github</a></p>
</div>
</div>
</div>
</div>
<div class="content-section-a">
<div class="container">
<div class="row">
<div>
<hr class="section-heading-spacer">
<div class="clearfix"></div>
<h2 class="section-heading">Get help</h2>
<ul>
<li>Join the chat on <a href="https://gitter.im/Swiftline?utm_source=share-link&utm_medium=link&utm_campaign=share-link">gitter</a></li>
<li>Ping the author on twitter <a href="http://twitter.com/@ifnottrue">@ifnottrue</a></li>
<li>Submit an <a href="https://github.com/Swiftline/Swiftline/issues/new">issue</a> on github</li>
</ul>
</div>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<div class="row">
<div class="col-md-8">
<ul class="list-inline">
<li>
<a class="page-scroll" href="#services">Services</a>
</li>
</ul>
<p class="copyright text-muted small">Copyright © Swiftline All Rights Reserved</p>
</div>
<div class="col-md-4">
Built with <a href="http://gohugo.io">Hugo</a> and the
<a href="https://github.com/crakjie/landing-page-hugo">landing-page-hugo</a>
theme.
</div>
</div>
</div>
</footer>
<script src="/js/jquery-1.11.0.js"></script>
<script src="/js/jquery.easing.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="js/landing-page.js"></script>
<script data-no-instant>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>