Skip to content

Commit d9f2e86

Browse files
committed
Released version "1.0.0-beta2"
1 parent 7b2f240 commit d9f2e86

8 files changed

Lines changed: 287 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
The Puli Command Line Interface
22
===============================
33

4-
[![Build Status](https://travis-ci.org/puli/cli.svg?branch=master)](https://travis-ci.org/puli/cli)
5-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/puli/cli/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/puli/cli/?branch=master)
4+
[![Build Status](https://travis-ci.org/puli/cli.svg?branch=1.0.0-beta2)](https://travis-ci.org/puli/cli)
5+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/puli/cli/badges/quality-score.png?b=1.0.0-beta2)](https://scrutinizer-ci.com/g/puli/cli/?branch=1.0.0-beta2)
66
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/96bbb04c-f5c3-47c2-8e43-1f92d26f7c3a/mini.png)](https://insight.sensiolabs.com/projects/96bbb04c-f5c3-47c2-8e43-1f92d26f7c3a)
77
[![Latest Stable Version](https://poser.pugx.org/puli/cli/v/stable.svg)](https://packagist.org/packages/puli/cli)
88
[![Total Downloads](https://poser.pugx.org/puli/cli/downloads.svg)](https://packagist.org/packages/puli/cli)
99
[![Dependency Status](https://www.versioneye.com/php/puli:cli/1.0.0/badge.svg)](https://www.versioneye.com/php/puli:cli/1.0.0)
1010

11-
Latest release: [1.0.0-beta](https://packagist.org/packages/puli/cli#1.0.0-beta)
11+
Latest release: [1.0.0-beta2](https://packagist.org/packages/puli/cli#1.0.0-beta2)
1212

1313
PHP >= 5.3.9
1414

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"require": {
1313
"php": ">=5.3.9",
14-
"puli/repository": "1.0.*",
14+
"puli/repository": "~1.0",
1515
"puli/discovery": "~1.0",
1616
"puli/factory": "~1.0",
1717
"puli/repository-manager": "~1.0",
@@ -22,7 +22,7 @@
2222
"require-dev": {
2323
"symfony/filesystem": "~2.3"
2424
},
25-
"minimum-stability": "dev",
25+
"minimum-stability": "beta",
2626
"autoload": {
2727
"psr-4": {
2828
"Puli\\Cli\\": "src/",

docs/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
PULI_VERSION = "@package_version@"
1+
PULI_VERSION = "1.0.0-beta2"
22

33
BUILD_HTML_DIR = html
44
BUILD_MAN_DIR = man

docs/man/puli-dump.1

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
'\" t
2+
.\" Title: puli-dump
3+
.\" Author: [see the "AUTHOR" section]
4+
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5+
.\" Date: 01/27/2015
6+
.\" Manual: \ \&
7+
.\" Source: \ \&
8+
.\" Language: English
9+
.\"
10+
.TH "PULI\-DUMP" "1" "01/27/2015" "\ \&" "\ \&"
11+
.\" -----------------------------------------------------------------
12+
.\" * Define some portability stuff
13+
.\" -----------------------------------------------------------------
14+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15+
.\" http://bugs.debian.org/507673
16+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
.ie \n(.g .ds Aq \(aq
19+
.el .ds Aq '
20+
.\" -----------------------------------------------------------------
21+
.\" * set default formatting
22+
.\" -----------------------------------------------------------------
23+
.\" disable hyphenation
24+
.nh
25+
.\" disable justification (adjust text to left margin only)
26+
.ad l
27+
.\" -----------------------------------------------------------------
28+
.\" * MAIN CONTENT STARTS HERE *
29+
.\" -----------------------------------------------------------------
30+
.SH "NAME"
31+
puli-dump \- Dump the resource repository
32+
.SH "SYNOPSIS"
33+
.sp
34+
.nf
35+
\fIpuli dump\fR
36+
.fi
37+
.SH "DESCRIPTION"
38+
.sp
39+
This command dumps the resource repository to a file\&.
40+
.SH "AUTHOR"
41+
.sp
42+
Written by Bernhard Schussek <\m[blue]\fBbschussek@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
43+
.SH "NOTES"
44+
.IP " 1." 4
45+
bschussek@gmail.com
46+
.RS 4
47+
\%mailto:bschussek@gmail.com
48+
.RE

docs/man/puli-ls.1

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
'\" t
2+
.\" Title: puli-ls
3+
.\" Author: [see the "AUTHOR" section]
4+
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5+
.\" Date: 01/27/2015
6+
.\" Manual: \ \&
7+
.\" Source: \ \&
8+
.\" Language: English
9+
.\"
10+
.TH "PULI\-LS" "1" "01/27/2015" "\ \&" "\ \&"
11+
.\" -----------------------------------------------------------------
12+
.\" * Define some portability stuff
13+
.\" -----------------------------------------------------------------
14+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15+
.\" http://bugs.debian.org/507673
16+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
.ie \n(.g .ds Aq \(aq
19+
.el .ds Aq '
20+
.\" -----------------------------------------------------------------
21+
.\" * set default formatting
22+
.\" -----------------------------------------------------------------
23+
.\" disable hyphenation
24+
.nh
25+
.\" disable justification (adjust text to left margin only)
26+
.ad l
27+
.\" -----------------------------------------------------------------
28+
.\" * MAIN CONTENT STARTS HERE *
29+
.\" -----------------------------------------------------------------
30+
.SH "NAME"
31+
puli-ls \- List the entries of a directory in the resource repository\&.
32+
.SH "SYNOPSIS"
33+
.sp
34+
.nf
35+
\fIpuli ls\fR [\-\-recursive] [<directory>]
36+
.fi
37+
.SH "DESCRIPTION"
38+
.sp
39+
This command lists the entries of a directory in the Puli repository\&.
40+
.SH "ARGUMENTS"
41+
.PP
42+
<directory>
43+
.RS 4
44+
The directory to list\&. If no directory is passed, the directory "/" is assumed\&.
45+
.RE
46+
.SH "OPTIONS"
47+
.PP
48+
\-\-recursive, \-R
49+
.RS 4
50+
Recursively display all entries of the directory and its subdirectories\&.
51+
.RE
52+
.SH "AUTHOR"
53+
.sp
54+
Written by Bernhard Schussek <\m[blue]\fBbschussek@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
55+
.SH "NOTES"
56+
.IP " 1." 4
57+
bschussek@gmail.com
58+
.RS 4
59+
\%mailto:bschussek@gmail.com
60+
.RE

docs/man/puli-package.1

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
'\" t
2+
.\" Title: puli-package
3+
.\" Author: [see the "AUTHOR" section]
4+
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5+
.\" Date: 01/27/2015
6+
.\" Manual: \ \&
7+
.\" Source: \ \&
8+
.\" Language: English
9+
.\"
10+
.TH "PULI\-PACKAGE" "1" "01/27/2015" "\ \&" "\ \&"
11+
.\" -----------------------------------------------------------------
12+
.\" * Define some portability stuff
13+
.\" -----------------------------------------------------------------
14+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15+
.\" http://bugs.debian.org/507673
16+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
.ie \n(.g .ds Aq \(aq
19+
.el .ds Aq '
20+
.\" -----------------------------------------------------------------
21+
.\" * set default formatting
22+
.\" -----------------------------------------------------------------
23+
.\" disable hyphenation
24+
.nh
25+
.\" disable justification (adjust text to left margin only)
26+
.ad l
27+
.\" -----------------------------------------------------------------
28+
.\" * MAIN CONTENT STARTS HERE *
29+
.\" -----------------------------------------------------------------
30+
.SH "NAME"
31+
puli-package \- List installed packages
32+
.SH "SYNOPSIS"
33+
.sp
34+
.nf
35+
\fIpuli package\fR
36+
.fi
37+
.SH "DESCRIPTION"
38+
.sp
39+
This command lists all installed packages\&.
40+
.SH "AUTHOR"
41+
.sp
42+
Written by Bernhard Schussek <\m[blue]\fBbschussek@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
43+
.SH "NOTES"
44+
.IP " 1." 4
45+
bschussek@gmail.com
46+
.RS 4
47+
\%mailto:bschussek@gmail.com
48+
.RE

docs/man/puli.1

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
'\" t
2+
.\" Title: puli
3+
.\" Author: [see the "AUTHOR" section]
4+
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
5+
.\" Date: 01/27/2015
6+
.\" Manual: \ \&
7+
.\" Source: \ \&
8+
.\" Language: English
9+
.\"
10+
.TH "PULI" "1" "01/27/2015" "\ \&" "\ \&"
11+
.\" -----------------------------------------------------------------
12+
.\" * Define some portability stuff
13+
.\" -----------------------------------------------------------------
14+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15+
.\" http://bugs.debian.org/507673
16+
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17+
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18+
.ie \n(.g .ds Aq \(aq
19+
.el .ds Aq '
20+
.\" -----------------------------------------------------------------
21+
.\" * set default formatting
22+
.\" -----------------------------------------------------------------
23+
.\" disable hyphenation
24+
.nh
25+
.\" disable justification (adjust text to left margin only)
26+
.ad l
27+
.\" -----------------------------------------------------------------
28+
.\" * MAIN CONTENT STARTS HERE *
29+
.\" -----------------------------------------------------------------
30+
.SH "NAME"
31+
puli \- PHP\*(Aqs powerful resource manager
32+
.SH "SYNOPSIS"
33+
.sp
34+
.nf
35+
\fIpuli\fR [\-\-help] [\-\-quiet] [\-\-verbose] [\-\-version] [\-\-ansi]
36+
[\-\-no\-ansi] [\-\-no\-interaction]
37+
<command> [<sub\-command>] [<arg1>] \&... [<argN>]
38+
.fi
39+
.SH "DESCRIPTION"
40+
.sp
41+
Puli is a PHP library that manages files, directories and other resources in a repository \- much like a virtual file system\&. \fIResources\fR can be anything, but usually we use the term for machine\-processed files that are not PHP, such as CSS, JavaScript, XLIFF, YAML, XML or HTML files\&.
42+
.SH "ARGUMENTS"
43+
.PP
44+
<command>
45+
.RS 4
46+
The name of the command to execute\&. The list of commands is displayed in the output of
47+
\fBpuli\fR\&.
48+
.RE
49+
.PP
50+
<sub\-command>
51+
.RS 4
52+
Some Puli commands have sub\-commands\&. Pass the name of a sub\-command in this argument\&. You can list the commands and their sub\-commands with
53+
\fBpuli \-a\fR\&.
54+
.RE
55+
.PP
56+
<arg*>
57+
.RS 4
58+
The arguments of the command\&. Run
59+
\fBpuli <command> \-h\fR
60+
to learn more about the arguments supported by a command\&.
61+
.RE
62+
.SH "OPTIONS"
63+
.PP
64+
\-\-help, \-h
65+
.RS 4
66+
Print the synopsis and a list of the most commonly used commands\&.
67+
.RE
68+
.PP
69+
\-\-quiet, \-q
70+
.RS 4
71+
Mute all output of the command\&.
72+
.RE
73+
.PP
74+
\-\-verbose, \-v, \-vv, \-vvv
75+
.RS 4
76+
Enable verbose output of the command\&. You can enable three levels of verbosity\&. The option
77+
\fI\-v\fR
78+
enables slightly verbose,
79+
\fI\-vv\fR
80+
more verbose and
81+
\fI\-vvv\fR
82+
very verbose output\&.
83+
.RE
84+
.PP
85+
\-\-version, \-V
86+
.RS 4
87+
Print the version of Puli\&.
88+
.RE
89+
.PP
90+
\-\-ansi
91+
.RS 4
92+
Enable colorization of the output\&. If the terminal supports colorization, the output will be colorized by default\&.
93+
.RE
94+
.PP
95+
\-\-no\-ansi
96+
.RS 4
97+
Disable output colorization\&. This is useful if you want to process the output of a command in a script\&.
98+
.RE
99+
.PP
100+
\-\-no\-interaction, \-n
101+
.RS 4
102+
Disable all dialogs and assumes the suggested answers\&. This is useful for running a command in a script\&.
103+
.RE
104+
.SH "LICENSE"
105+
.sp
106+
The MIT License (MIT)
107+
.sp
108+
Copyright (c) 2014 Bernhard Schussek
109+
.sp
110+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
111+
.sp
112+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software\&.
113+
.sp
114+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT\&. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE\&.
115+
.SH "AUTHOR"
116+
.sp
117+
Written by Bernhard Schussek <\m[blue]\fBbschussek@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
118+
.SH "NOTES"
119+
.IP " 1." 4
120+
bschussek@gmail.com
121+
.RS 4
122+
\%mailto:bschussek@gmail.com
123+
.RE

src/PuliCliApplication.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
*/
3535
class PuliCliApplication extends Application
3636
{
37-
const VERSION = '@package_version@';
37+
const VERSION = '1.0.0-beta2';
3838

39-
const RELEASE_DATE = '@release_date@';
39+
const RELEASE_DATE = '2015-01-27';
4040

4141
public function __construct()
4242
{

0 commit comments

Comments
 (0)