@bussolabs/closeyourit-cli 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/opencli.json CHANGED
@@ -681,6 +681,71 @@
681
681
  "examples": [
682
682
  "closeyourit tickets create --project acme-api --title \"Checkout fails\""
683
683
  ]
684
+ },
685
+ {
686
+ "name": "reject",
687
+ "description": "Reject the ticket review: send it back to work with a reason.",
688
+ "arguments": [
689
+ {
690
+ "name": "ID",
691
+ "required": true,
692
+ "description": "Ticket id."
693
+ }
694
+ ],
695
+ "options": [
696
+ {
697
+ "name": "--project",
698
+ "aliases": [
699
+ "-p"
700
+ ],
701
+ "required": true,
702
+ "description": "Project id (UUID) or key.",
703
+ "arguments": [
704
+ {
705
+ "name": "PROJECT",
706
+ "required": true
707
+ }
708
+ ]
709
+ },
710
+ {
711
+ "name": "--reason",
712
+ "required": true,
713
+ "description": "Why the review is rejected (posted as a comment).",
714
+ "arguments": [
715
+ {
716
+ "name": "REASON",
717
+ "required": true
718
+ }
719
+ ]
720
+ }
721
+ ]
722
+ },
723
+ {
724
+ "name": "approve",
725
+ "description": "Approve the ticket review: move it to the first done status.",
726
+ "arguments": [
727
+ {
728
+ "name": "ID",
729
+ "required": true,
730
+ "description": "Ticket id."
731
+ }
732
+ ],
733
+ "options": [
734
+ {
735
+ "name": "--project",
736
+ "aliases": [
737
+ "-p"
738
+ ],
739
+ "required": true,
740
+ "description": "Project id (UUID) or key.",
741
+ "arguments": [
742
+ {
743
+ "name": "PROJECT",
744
+ "required": true
745
+ }
746
+ ]
747
+ }
748
+ ]
684
749
  }
685
750
  ]
686
751
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bussolabs/closeyourit-cli",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
5
5
  "publishConfig": {
6
6
  "access": "public"