OSDN Git Service

Man pages
authorDaniel Bachhuber <d@danielbachhuber.com>
Mon, 4 Feb 2013 00:34:57 +0000 (16:34 -0800)
committerDaniel Bachhuber <d@danielbachhuber.com>
Sat, 9 Feb 2013 23:02:49 +0000 (15:02 -0800)
man-src/term-create.txt [new file with mode: 0644]
man-src/term-delete.txt [new file with mode: 0644]
man-src/term-list.txt [new file with mode: 0644]
man-src/term-update.txt [new file with mode: 0644]

diff --git a/man-src/term-create.txt b/man-src/term-create.txt
new file mode 100644 (file)
index 0000000..19fe84d
--- /dev/null
@@ -0,0 +1,21 @@
+## OPTIONS
+
+* `<term>`:
+
+       A name for the new term.
+
+* `<taxonomy>`:
+
+       Taxonomy for the new term.
+
+* `--slug`=<slug>:
+
+       A unique slug for the new term. Defaults to sanitized version of name.
+
+* `--description`=<description>:
+
+       A description for the new term.
+
+## EXAMPLES
+
+       wp term create Apple category --description="A type of fruit"
\ No newline at end of file
diff --git a/man-src/term-delete.txt b/man-src/term-delete.txt
new file mode 100644 (file)
index 0000000..03f2309
--- /dev/null
@@ -0,0 +1,13 @@
+## OPTIONS
+
+* `<term-id>`:
+
+       ID for the term to delete.
+
+* `<taxonomy>`:
+
+       Taxonomy of the term to delete.
+
+## EXAMPLES
+
+       wp term delete 15 category
\ No newline at end of file
diff --git a/man-src/term-list.txt b/man-src/term-list.txt
new file mode 100644 (file)
index 0000000..f991f25
--- /dev/null
@@ -0,0 +1,13 @@
+## OPTIONS
+
+* `<taxonomy>`:
+
+       List terms of a given taxonomy.
+
+* `--format`=<format>:
+
+       Output list as table, CSV or JSON. Defaults to table.
+
+## EXAMPLES
+
+       wp term list category --format=csv
\ No newline at end of file
diff --git a/man-src/term-update.txt b/man-src/term-update.txt
new file mode 100644 (file)
index 0000000..82ae9a1
--- /dev/null
@@ -0,0 +1,29 @@
+## OPTIONS
+
+* `<term-id>`:
+
+       ID for the term to update.
+
+* `<taxonomy>`:
+
+       Taxonomy of the term to update.
+
+* `--name`=<name>:
+
+       A new name for the term.
+
+* `--slug`=<slug>:
+
+       A new slug for the term.
+
+* `--description`=<description>:
+
+       A new description for the term.
+
+* `--parent`=<parent>:
+
+       A new parent for the term.
+
+## EXAMPLES
+
+       wp term update 15 category --name=Apple
\ No newline at end of file