Skip to content

Commit 4e0e158

Browse files
committed
Add a slide on CLImate
1 parent b204a9a commit 4e0e158

File tree

6 files changed

+22
-2
lines changed

6 files changed

+22
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This presentation also has [a companion repository, full of executable examples
1313

1414
* [Symfony Console Component](http://symfony.com/doc/current/components/console/introduction.html) - Project documentation
1515
* [PHP-CLI Tools](https://github.com/wp-cli/php-cli-tools) - GitHub repository
16+
* [CLImate](https://climate.thephpleague.com/) - Project documentation
1617
* [Building PHP Daemons and Long Running Processes](https://prezi.com/pymsnzwlieqt/building-php-daemons-and-long-running-processes-tek15/) - Talk from php[tek] 2015 by [Tim Lytle](http://timlytle.net)
1718
* [Exit Codes with Special Meanings](http://tldp.org/LDP/abs/html/exitcodes.html) - The Linux Documentation Project
1819
* [Understanding Exit Codes and How to Use Them in Bash Scripts](http://bencane.com/2014/09/02/understanding-exit-codes-and-how-to-use-them-in-bash-scripts/) - Article by Benjamin Cane

css/source/theme.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,13 +141,17 @@ section.has-dark-background {
141141
}
142142

143143
.seamless {
144-
img {
144+
&, img {
145145
background: none;
146146
border: none;
147147
box-shadow: none;
148148
}
149149
}
150150

151+
.no-text-transform {
152+
text-transform: none;
153+
}
154+
151155
.title-slide {
152156
h1 {
153157
font-size: $heading2Size;

css/theme.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,14 @@ body {
346346
.slides dl dd + dt + dd {
347347
margin-top: .5em; }
348348

349-
.slides .seamless img {
349+
.slides .seamless, .slides .seamless img {
350350
background: none;
351351
border: none;
352352
box-shadow: none; }
353353

354+
.slides .no-text-transform {
355+
text-transform: none; }
356+
354357
.slides .title-slide h1 {
355358
font-size: 1.6em;
356359
margin-bottom: 2em; }

resources/climate-animation.gif

149 KB
Loading

slides/climate.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
### [CLImate](https://climate.thephpleague.com/) <!-- .element: class="no-text-transform" -->
2+
3+
* Focused on output <!-- .element: class="fragment" -->
4+
- Progress bars, borders, JSON, and more
5+
* <!-- .element: class="fragment" --> Includes helpers for ASCII art and animations!
6+
!["Oh Hello" as animated ASCII art, rising from the bottom of the screen](resources/climate-animation.gif) <!-- .element: class="seamless" -->
7+
8+
Note:
9+
10+
* Maintained by The League of Extraordinary Packages
11+
* More output options than PHP CLI Tools, but fewer controls for input

slides/list.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"writing-your-own-scripts.md",
3131
"symfony-console.md",
3232
"php-cli-tools.md",
33+
"climate.md",
3334
"types-of-arguments.md",
3435
"argv.md",
3536
"argc.md",

0 commit comments

Comments
 (0)