You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PHPCR/Util/Console/Command/DumpCommand.php
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ protected function configure()
61
61
->addOption('props', null, InputOption::VALUE_NONE, 'Use to dump the node properties')
62
62
->addOption('depth', null, InputOption::VALUE_OPTIONAL, 'Set to a number to limit how deep into the tree to recurse', "-1")
63
63
->addOption('identifiers', null, InputOption::VALUE_NONE, 'Use to also output node UUID')
64
+
->addOption('ref-format', 'uuid', InputOption::VALUE_REQUIRED, 'Set the way references should be displayed when dumping reference properties - either "uuid" (default) or "path"')
64
65
->addArgument('identifier', InputArgument::OPTIONAL, 'Path of the node to dump', '/')
65
66
->setDescription('Dump the content repository')
66
67
->setHelp(<<<EOF
@@ -69,10 +70,10 @@ protected function configure()
69
70
70
71
If the <info>props</info> option is used the nodes properties are
71
72
displayed as yaml arrays.
73
+
72
74
By default the command filters out system nodes and properties (i.e. nodes and
73
75
properties with names starting with 'jcr:'), the <info>sys_nodes</info> option
74
76
allows to turn this filter off.
75
-
allows to turn this filter off.
76
77
EOF
77
78
)
78
79
;
@@ -103,8 +104,18 @@ protected function execute(InputInterface $input, OutputInterface $output)
0 commit comments