You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by si...@apache.org on 2019/03/21 09:26:29 UTC

[sling-whiteboard] branch master updated: [cp2fm] added "Argument Files for Long Command Lines" section in READMEs

This is an automated email from the ASF dual-hosted git repository.

simonetripodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new 33fdb2b  [cp2fm] added "Argument Files for Long Command Lines" section in READMEs
33fdb2b is described below

commit 33fdb2bde3feef982a1b1621892d6ddf1d3afac2
Author: Simo Tripodi <st...@adobe.com>
AuthorDate: Thu Mar 21 10:26:23 2019 +0100

    [cp2fm] added "Argument Files for Long Command Lines" section in READMEs
---
 content-package-2-feature-model/README.md          | 18 ++++++++++++++++
 .../src/main/assembly/README.md                    | 25 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/content-package-2-feature-model/README.md b/content-package-2-feature-model/README.md
index a697d98..09c8394 100644
--- a/content-package-2-feature-model/README.md
+++ b/content-package-2-feature-model/README.md
@@ -368,3 +368,21 @@ to see all the available options; a sample execution could look like:
 ```
 $ ./bin/cp2sf -v -b 20 -c /content-package-2-feature-model/src/test/resources/org/apache/sling/cp2fm/test-content-package.zip -o /tmp
 ```
+
+Argument Files for Long Command Lines:
+
+```
+# argfile
+# comments are supported
+
+-v
+-b 20
+-c /content-package-2-feature-model/src/test/resources/org/apache/sling/cp2fm/test-content-package.zip
+-o /tmp
+```
+
+then execute the command
+
+```
+$ ./bin/cp2sf @arfile
+````
diff --git a/content-package-2-feature-model/src/main/assembly/README.md b/content-package-2-feature-model/src/main/assembly/README.md
index d5d4cfa..80ef318 100644
--- a/content-package-2-feature-model/src/main/assembly/README.md
+++ b/content-package-2-feature-model/src/main/assembly/README.md
@@ -123,3 +123,28 @@ Apache Sling Content Package to Sling Feature converter
   -X, --verbose             Produce execution debug output.
 Copyright(c) 2019 The Apache Software Foundation.
 ```
+
+a sample execution could look like:
+
+```
+$ ./bin/cp2sf -v -b 20 -c /content-package-2-feature-model/src/test/resources/org/apache/sling/cp2fm/test-content-package.zip -o /tmp
+```
+
+### Argument Files for Long Command Lines
+
+```
+# argfile
+# comments are supported
+
+-v
+-b 20
+-c /content-package-2-feature-model/src/test/resources/org/apache/sling/cp2fm/test-content-package.zip
+-o /tmp
+```
+
+then execute the command
+
+```
+$ ./bin/cp2sf @arfile
+````
+