runTreeCli function
CLI adapter for fdb tree.
Flags:
--depth n Maximum tree depth to display (default: 10)
--user-only Only show widgets created by the local project
Implementation
Future<int> runTreeCli(List<String> args) {
final parser = ArgParser()
..addOption('depth', defaultsTo: '10', help: 'Maximum depth to display')
..addFlag('user-only', negatable: false, help: 'Show only user-project widgets');
return runCliAdapter(parser, args, _execute);
}