Skip to content

Commit

Permalink
Released version "1.0.0-beta"
Browse files Browse the repository at this point in the history
  • Loading branch information
webmozart committed Jan 12, 2015
1 parent 22675f0 commit f07ebb1
Show file tree
Hide file tree
Showing 8 changed files with 238 additions and 26 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
The Puli Command Line Interface
===============================

[![Build Status](https://travis-ci.org/puli/cli.svg?branch=master)](https://travis-ci.org/puli/cli)
[![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)
[![Build Status](https://travis-ci.org/puli/cli.svg?branch=1.0.0-beta)](https://travis-ci.org/puli/cli)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/puli/cli/badges/quality-score.png?b=1.0.0-beta)](https://scrutinizer-ci.com/g/puli/cli/?branch=1.0.0-beta)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/96bbb04c-f5c3-47c2-8e43-1f92d26f7c3a/mini.png)](https://insight.sensiolabs.com/projects/96bbb04c-f5c3-47c2-8e43-1f92d26f7c3a)
[![Latest Stable Version](https://poser.pugx.org/puli/cli/v/stable.svg)](https://packagist.org/packages/puli/cli)
[![Total Downloads](https://poser.pugx.org/puli/cli/downloads.svg)](https://packagist.org/packages/puli/cli)
[![Dependency Status](https://www.versioneye.com/php/puli:cli/1.0.0/badge.svg)](https://www.versioneye.com/php/puli:cli/1.0.0)

Latest release: [1.0.0-alpha1](https://packagist.org/packages/puli/cli#1.0.0-alpha1)
Latest release: [1.0.0-beta](https://packagist.org/packages/puli/cli#1.0.0-beta)

PHP >= 5.3.9

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"require-dev": {
"symfony/filesystem": "~2.3"
},
"minimum-stability": "dev",
"minimum-stability": "beta",
"autoload": {
"psr-4": {
"Puli\\Cli\\": "src/",
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PULI_VERSION = "@package_version@"
PULI_VERSION = "1.0.0-beta"

BUILD_HTML_DIR = html
BUILD_MAN_DIR = man
Expand Down
60 changes: 60 additions & 0 deletions docs/man/puli-ls.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
'\" t
.\" Title: puli-ls
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 01/12/2015
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "PULI\-LS" "1" "01/12/2015" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
puli-ls \- List the entries of a directory in the resource repository\&.
.SH "SYNOPSIS"
.sp
.nf
\fIpuli ls\fR [\-\-recursive] [<directory>]
.fi
.SH "DESCRIPTION"
.sp
This command lists the entries of a directory in the Puli repository\&.
.SH "ARGUMENTS"
.PP
<directory>
.RS 4
The directory to list\&. If no directory is passed, the directory "/" is assumed\&.
.RE
.SH "OPTIONS"
.PP
\-\-recursive, \-R
.RS 4
Recursively display all entries of the directory and its subdirectories\&.
.RE
.SH "AUTHOR"
.sp
Written by Bernhard Schussek <\m[blue]\fBbschussek@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
.SH "NOTES"
.IP " 1." 4
[email protected]
.RS 4
\%mailto:[email protected]
.RE
48 changes: 48 additions & 0 deletions docs/man/puli-package.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
'\" t
.\" Title: puli-package
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 01/12/2015
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "PULI\-PACKAGE" "1" "01/12/2015" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
puli-package \- List installed packages
.SH "SYNOPSIS"
.sp
.nf
\fIpuli package\fR
.fi
.SH "DESCRIPTION"
.sp
This command lists all installed packages\&.
.SH "AUTHOR"
.sp
Written by Bernhard Schussek <\m[blue]\fBbschussek@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
.SH "NOTES"
.IP " 1." 4
[email protected]
.RS 4
\%mailto:[email protected]
.RE
123 changes: 123 additions & 0 deletions docs/man/puli.1
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
'\" t
.\" Title: puli
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\" Date: 01/12/2015
.\" Manual: \ \&
.\" Source: \ \&
.\" Language: English
.\"
.TH "PULI" "1" "01/12/2015" "\ \&" "\ \&"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
puli \- PHP\*(Aqs powerful resource manager
.SH "SYNOPSIS"
.sp
.nf
\fIpuli\fR [\-\-help] [\-\-quiet] [\-\-verbose] [\-\-version] [\-\-ansi]
[\-\-no\-ansi] [\-\-no\-interaction]
<command> [<sub\-command>] [<arg1>] \&... [<argN>]
.fi
.SH "DESCRIPTION"
.sp
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\&.
.SH "ARGUMENTS"
.PP
<command>
.RS 4
The name of the command to execute\&. The list of commands is displayed in the output of
\fBpuli\fR\&.
.RE
.PP
<sub\-command>
.RS 4
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
\fBpuli \-a\fR\&.
.RE
.PP
<arg*>
.RS 4
The arguments of the command\&. Run
\fBpuli <command> \-h\fR
to learn more about the arguments supported by a command\&.
.RE
.SH "OPTIONS"
.PP
\-\-help, \-h
.RS 4
Print the synopsis and a list of the most commonly used commands\&.
.RE
.PP
\-\-quiet, \-q
.RS 4
Mute all output of the command\&.
.RE
.PP
\-\-verbose, \-v, \-vv, \-vvv
.RS 4
Enable verbose output of the command\&. You can enable three levels of verbosity\&. The option
\fI\-v\fR
enables slightly verbose,
\fI\-vv\fR
more verbose and
\fI\-vvv\fR
very verbose output\&.
.RE
.PP
\-\-version, \-V
.RS 4
Print the version of Puli\&.
.RE
.PP
\-\-ansi
.RS 4
Enable colorization of the output\&. If the terminal supports colorization, the output will be colorized by default\&.
.RE
.PP
\-\-no\-ansi
.RS 4
Disable output colorization\&. This is useful if you want to process the output of a command in a script\&.
.RE
.PP
\-\-no\-interaction, \-n
.RS 4
Disable all dialogs and assumes the suggested answers\&. This is useful for running a command in a script\&.
.RE
.SH "LICENSE"
.sp
The MIT License (MIT)
.sp
Copyright (c) 2014 Bernhard Schussek
.sp
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:
.sp
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software\&.
.sp
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\&.
.SH "AUTHOR"
.sp
Written by Bernhard Schussek <\m[blue]\fBbschussek@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2>
.SH "NOTES"
.IP " 1." 4
[email protected]
.RS 4
\%mailto:[email protected]
.RE
19 changes: 0 additions & 19 deletions docs/puli-dump.txt

This file was deleted.

4 changes: 2 additions & 2 deletions src/PuliCliApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
*/
class PuliCliApplication extends Application
{
const VERSION = '@package_version@';
const VERSION = '1.0.0-beta';

const RELEASE_DATE = '@release_date@';
const RELEASE_DATE = '2015-01-12';

public function __construct()
{
Expand Down

0 comments on commit f07ebb1

Please sign in to comment.