Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: better description #82

Merged
merged 1 commit into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composio/cli/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _actions(
enabled: bool = False,
copy_enums: bool = False,
) -> None:
"""Manage composio actions"""
"""List composio actions"""
try:
actions = context.client.actions.get(
apps=[App(app) for app in apps],
Expand Down
2 changes: 1 addition & 1 deletion composio/cli/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def event(self) -> str:
)
@pass_context
def _apps(context: Context, enabled: bool = False) -> None:
"""Manage composio apps"""
"""List composio tools/apps which you have access to"""
if context.click_ctx.invoked_subcommand:
return

Expand Down
2 changes: 1 addition & 1 deletion composio/cli/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@click.group(name="connections", invoke_without_command=True)
@pass_context
def _connections(context: Context) -> None:
"""Manage composio connections"""
"""List composio connections for your account"""
if context.click_ctx.invoked_subcommand:
return

Expand Down
2 changes: 1 addition & 1 deletion composio/cli/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@login_required
@pass_context
def _integrations(context: Context) -> None:
"""Manage composio integrations"""
"""List composio integrations for your account"""
if context.click_ctx.invoked_subcommand:
return

Expand Down
2 changes: 1 addition & 1 deletion composio/cli/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def _login(
context: Context,
no_browser: bool = False,
) -> None:
"""Login to the Composio SDK API."""
"""Login to the Composio SDK"""

# TODO: Abstract away
user_data = context.user_data
Expand Down
2 changes: 1 addition & 1 deletion composio/cli/logout.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@click.command(name="logout")
@pass_context
def _logout(context: Context) -> None:
"""Logout from the session."""
"""Logout from the Composio SDK"""
try:
context.user_data.api_key = None
context.user_data.store()
Expand Down
2 changes: 1 addition & 1 deletion composio/cli/triggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _triggers(
app_names: t.Tuple[str, ...],
active: bool = True,
) -> None:
"""Manage triggers"""
"""List triggers available for your account"""
if context.click_ctx.invoked_subcommand:
return

Expand Down
2 changes: 1 addition & 1 deletion composio/cli/whoami.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@click.command(name="whoami")
@pass_context
def _whoami(context: Context) -> None:
"""Manage composio whoami"""
"""List your account information"""
try:
context.console.print(f"API Key: [green]{context.user_data.api_key}[/green]")
except ComposioSDKError as e:
Expand Down
Loading