Skip to content

Conversation

@lethliel
Copy link
Member

List and create comments

adding comments command to osc2. Comments can be listed, created, replied to and deleted.

Base Syntax:

osc2 comments <action> package api://project/package [-c] [-p]
osc2 comments <action> project api://project [-c] [-p]
osc2 comments <action> request api://reqeust[-c] [-p]

where action can be list or create
-c defines the comment text.
If -p is given the comment is a reply to an existing comment with the given id

The list command has an interactive mode:
osc2 comment list package -i api://project/package

In this mode you can go through the comments and can:

  • n (next comment)
  • reply (reply to comment)
  • create (create new comment)
  • delete (delete comment)

Delete comments

You can delete a comment:

osc2 comment delete api://comment_id

@marcus-h
Copy link
Member

marcus-h commented Mar 7, 2017 via email

@lethliel
Copy link
Member Author

lethliel commented Mar 7, 2017 via email

@marcus-h
Copy link
Member

marcus-h commented Mar 8, 2017 via email

lethliel added 2 commits April 7, 2017 10:24
* fixed spelling
* removed unused imports
* some layout changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants