Page MenuHomePhabricator

D11675.diff
No OneTemporary

D11675.diff

diff --git a/scripts/example/subworkflow.php b/scripts/example/subworkflow.php
--- a/scripts/example/subworkflow.php
+++ b/scripts/example/subworkflow.php
@@ -13,7 +13,7 @@
// This shows how to do manual parsing of raw arguments.
-final class PhutilArgumentWorkflowEchoExample extends PhutilArgumentWorkflow {
+final class PhutilEchoExampleArgumentWorkflow extends PhutilArgumentWorkflow {
public function isExecutable() {
return true;
@@ -33,7 +33,7 @@
// This shows how to delegate to sub-workflows.
-final class PhutilArgumentWorkflowDoExample extends PhutilArgumentWorkflow {
+final class PhutilDoExampleArgumentWorkflow extends PhutilArgumentWorkflow {
public function isExecutable() {
return true;
@@ -44,7 +44,7 @@
}
public function execute(PhutilArgumentParser $args) {
- $echo_workflow = id(new PhutilArgumentWorkflowEchoExample())
+ $echo_workflow = id(new PhutilEchoExampleArgumentWorkflow())
->setName('echo')
->setExamples('**echo** __string__ ...')
->setSynopsis('Echo __string__.');
@@ -59,7 +59,7 @@
}
-$do_workflow = id(new PhutilArgumentWorkflowDoExample())
+$do_workflow = id(new PhutilDoExampleArgumentWorkflow())
->setName('do')
->setExamples('**do** __thing__ ...')
->setSynopsis('Do __thing__.');

File Metadata

Mime Type
text/plain
Expires
Wed, Jan 22, 3:50 AM (20 h, 7 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7026624
Default Alt Text
D11675.diff (1 KB)

Event Timeline