@devries-cameron20 / composio-1 / commits / 5fcf1811c
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Add CLI command aliases for common operations (#2961)

## Summary This PR updates the CLI documentation to reflect new command aliases that provide shorter, more intuitive ways to access frequently-used operations. The aliases simplify the user experience by reducing the need to remember the full `composio manage <subcommand>` syntax. ## Changes - Added `composio search` as an alias for `composio manage tools search` - Added `composio execute` as an alias for `composio manage tools execute` - Added `composio link` as an alias for `composio manage connected-accounts link` - Added `composio listen` as an alias for `composio manage triggers listen` - Updated CLI examples in the documentation to use the new shorter command syntax - Added new commands to the "Available commands" reference table with descriptions ## Type of change - [x] Documentation ## How Has This Been Tested? Documentation update only - no code changes to test. The examples provided in the docs should be verified against the actual CLI implementation to ensure the aliases are properly implemented. ## Checklist - [x] I have read the Code of Conduct and this PR adheres to it - [x] I updated documentation as needed - [ ] I added a changeset if this change affects published packages (N/A - documentation only) ## Additional context These aliases improve the CLI's usability by providing shorter commands for the most common operations while maintaining backward compatibility with the full `composio manage` command syntax. https://claude.ai/code/session_01URy2rPVnVhYUw3V1eX761z Co-authored-by: Claude <noreply@anthropic.com>

Rahul Tarak committed Mar 19, 2026 at 01:06 UTC 5fcf1811c9ede22779b5754b789c79bd937c54ec
1 file changed +9 -5
docs/content/docs/cli.mdx
+9 -5
@@ -33,19 +33,19 @@ composio whoami
33
34 ```bash
35 # Connect your GitHub account
36 -composio manage connected-accounts link github
36 +composio link github
37
38 # Print connect URL + JSON and exit immediately (no wait)
39 -composio manage connected-accounts link github --no-wait
39 +composio link github --no-wait
40
41 # Search for tools
42 -composio manage tools search "star a github repo"
42 +composio search "star a github repo"
43
44 # Look up a tool's input schema
45 composio manage tools info GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER
46
47 # Execute a tool (star the Composio repo!)
48 -composio manage tools execute GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER -d '{"owner":"composiohq","repo":"composio"}'
48 +composio execute GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER -d '{"owner":"composiohq","repo":"composio"}'
49 ```
50
51 ## Set up and listen to triggers
@@ -58,7 +58,7 @@ composio manage connected-accounts list --toolkits github
58 composio manage triggers create GITHUB_STAR_ADDED_EVENT --connected-account-id your-connected-account-id --trigger-config '{"owner":"your-username","repo":"your-repo"}'
59
60 # Listen to all GitHub trigger events on your account in real time
61 -composio manage triggers listen --toolkits github --table
61 +composio listen --toolkits github --table
62 ```
63
64 ## Available commands
@@ -73,6 +73,10 @@ Run `composio <command> --help` for detailed usage and flags.
73 | `composio logout` | | Remove stored authentication |
74 | `composio whoami` | | Display your account and workspace information (without API keys) |
75 | `composio init` | | Initialize a Composio project in the current directory |
76 +| `composio search` | | Search for tools by use-case query (alias for `manage tools search`) |
77 +| `composio execute` | | Execute a tool by slug (alias for `manage tools execute`) |
78 +| `composio link` | | Connect an account for a toolkit (alias for `manage connected-accounts link`) |
79 +| `composio listen` | | Listen to trigger events in real time (alias for `manage triggers listen`) |
80 | `composio manage toolkits` | `list`, `search`, `info`, `version` | Discover and inspect toolkits |
81 | `composio manage tools` | `list`, `search`, `info`, `execute` | Discover, inspect, and execute tools |
82 | `composio manage connected-accounts` | `list`, `info`, `whoami`, `link`, `delete` | Manage connected accounts |