Skip to content

Bug: Comment adding and viewing via CLI arguments is not working #3

@3nln

Description

@3nln

Currently, the comment functionality is not working as expected via command-line arguments.

Steps to Reproduce:

  1. Run b24 tasks to get a list of tasks.

  2. Try to add a comment to a task using its ID:

    b24 comments add <TASK_ID> "This is a test comment"
    • Expected behavior: The comment should be added directly.
    • Actual behavior: The command ignores the arguments and opens an interactive menu for a different task.
  3. Try to view comments for a task using its ID:

    b24 comments view <TASK_ID>
    • Expected behavior: The comments for the specified task should be displayed.
    • Actual behavior: The command fails with an error: unknown command 'comments' message.

Conclusion:

The comments subcommand is not parsing arguments correctly and seems to be completely broken for direct command-line use. The functionality might only be accessible through the interactive menus, which defeats the purpose of direct CLI commands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions