Skip to content

CLI Tree

ChatSync is currently a root-only CLI and uses the shared chatstyle.add_tree_option() runtime to render its real registered Click command surface:

  • chatsync --tree includes parameter signatures for interface review.
  • chatsync --tree-brief preserves the same nodes and descriptions while omitting signatures.

There are no business-command parameters yet, so the full and brief views are identical. This page must not invent future commands.

Full command tree

chatsync
├── --help  # Show this message and exit.
├── --version  # Show the version and exit.
├── --tree  # Print the registered CLI tree and exit.
└── --tree-brief  # Print the registered CLI tree without parameter signatures and exit.

Brief command tree

chatsync
├── --help  # Show this message and exit.
├── --version  # Show the version and exit.
├── --tree  # Print the registered CLI tree and exit.
└── --tree-brief  # Print the registered CLI tree without parameter signatures and exit.

Status Contract

  • chatsync --help must expose --tree and --tree-brief.
  • chatsync --tree must exit 0 and show the registered surface with signatures.
  • chatsync --tree-brief must exit 0 and show the same surface without signatures.
  • chatsync hello must fail; hello is not a business command.
  • The current entrypoint does not synchronize directories, write remote state, or print CHATSYNC_API_KEY.
  • Future synchronization capabilities must add reusable Python APIs first, then CLI commands, and then update both trees.