forked from cloudinary/cloudinary_wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclass-cli-vip.php
More file actions
37 lines (32 loc) · 924 Bytes
/
Copy pathclass-cli-vip.php
File metadata and controls
37 lines (32 loc) · 924 Bytes
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
<?php
/**
* Cloudinary CLI for VIP.
*
* @package Cloudinary
*/
namespace Cloudinary;
use Cloudinary\Traits\CLI_Trait;
/**
* CLI VIP class.
*
* @since 2.5.1
*/
class CLI_VIP extends \WPCOM_VIP_CLI_Command {
use CLI_Trait;
/**
* Output the Intro.
*
* @since 2.5.1
* @link http://patorjk.com/software/taag/#p=display&c=echo&f=Calvin%20S&t=Cloudinary%20CLI
*/
protected function do_intro() {
static $intro;
if ( ! $intro ) {
\WP_CLI::log( '' );
\WP_CLI::log( '╔═╗┬ ┌─┐┬ ┬┌┬┐┬┌┐┌┌─┐┬─┐┬ ┬ ╔═╗╦ ╦ ╦ ╦╦╔═╗' );
\WP_CLI::log( '║ │ │ ││ │ ││││││├─┤├┬┘└┬┘ ║ ║ ║ ╚╗╔╝║╠═╝' );
\WP_CLI::log( '╚═╝┴─┘└─┘└─┘─┴┘┴┘└┘┴ ┴┴└─ ┴ ╚═╝╩═╝╩ ╚╝ ╩╩ ' );
$intro = true;
}
}
}