@dp-pcs/ogp 0.8.2 → 0.9.0

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.
@@ -61,7 +61,7 @@ _ogp_completion() {
61
61
  # agent-comms subcommands
62
62
  if [ "$cmd" = "agent-comms" ]; then
63
63
  if [ $COMP_CWORD -eq 2 ]; then
64
- opts="policies configure add-topic set-topic set-default remove-topic reset activity default logging"
64
+ opts="send policies configure add-topic set-topic set-default remove-topic reset activity default logging"
65
65
  COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
66
66
  return 0
67
67
  fi
@@ -116,7 +116,7 @@ _ogp_completion() {
116
116
  # project subcommands
117
117
  if [ "$cmd" = "project" ]; then
118
118
  if [ $COMP_CWORD -eq 2 ]; then
119
- opts="create join list remove contribute query status request-join send-contribution query-peer status-peer delete"
119
+ opts="create join list remove contribute query status request-join send-contribution query-peer status-peer delete add-owner claim-ownership owners"
120
120
  COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
121
121
  return 0
122
122
  fi
@@ -238,6 +238,7 @@ _ogp_agent_comms() {
238
238
 
239
239
  _arguments \
240
240
  '1:subcommand:((
241
+ send\:"Send an agent-comms message to a peer (alias of federation agent)"
241
242
  policies\:"Show response policies"
242
243
  configure\:"Configure response policies"
243
244
  add-topic\:"Add topic to peer response policy"
@@ -432,6 +433,9 @@ _ogp_project() {
432
433
  query-peer\:"Query peer project contributions"
433
434
  status-peer\:"Request project status from peer"
434
435
  delete\:"Delete local project and all contributions"
436
+ add-owner\:"Grant ownership to a peer key (owners only)"
437
+ claim-ownership\:"Claim ownership of a pre-existing project (members only)"
438
+ owners\:"List the owners of a project"
435
439
  ))' \
436
440
  '*::arg:->args'
437
441