summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-02-23 20:10:37 +0000
committerTed Trask <ttrask01@yahoo.com>2012-02-23 20:10:37 +0000
commit8cf97414dc56b77d65f6e53b45cb36dc1c605104 (patch)
treec5d39753ffa55260d1906dfcbcf7ca71b827c7f4 /bin
parent94e98d227ef5e21485bafd859b23d5d709ba79a8 (diff)
downloadacf-core-8cf97414dc56b77d65f6e53b45cb36dc1c605104.tar.bz2
acf-core-8cf97414dc56b77d65f6e53b45cb36dc1c605104.tar.xz
Modify acf_www and acf_cli handle_clientdata to separate out functionality for the two apps
Diffstat (limited to 'bin')
-rwxr-xr-xbin/acf-cli10
1 files changed, 6 insertions, 4 deletions
diff --git a/bin/acf-cli b/bin/acf-cli
index 1c2fe6a..aaa32dc 100755
--- a/bin/acf-cli
+++ b/bin/acf-cli
@@ -7,13 +7,15 @@ Usage: acf-cli [action] [parameter]...
Actions are of the form "prefix/controller/action"
Parameters are of the form "parameter=value"
list and multi select parameters are of the form "parameter[1]=value"
- boolean parameters are true if defined, false is undefined
+ to set a list or multi to blank use "parameter" without any value
+ parameters within groups are of the form "group.parameter=value"
+ boolean parameters should be specified as "true" or "false"
Example:
-acf-cli acf-util/password/newuser password="test123" password_confirm="test123" roles[1]="ADMIN" userid="root" Create
+acf-cli acf-util/password/newuser password="test123" password_confirm="test123" roles[1]="ADMIN" userid="root" submit="Create"
-For forms, remember to pass in the "option" value as a parameter (see Create in example above).
-Output will be a serialized Lua table.
+For forms, remember to pass in "submit" as a parameter with an appropriate value from the form "option" (see Create in example above).
+Output will be a serialized Lua table unless specified otherwise with "viewtype" parameter.
]])
return
end