Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
update ox status to print all values
Browse files Browse the repository at this point in the history
  • Loading branch information
srerickson committed Mar 17, 2023
1 parent 01a324c commit 0c27d4f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions cmd/ox/cmd/status/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,11 @@ func (status Cmd) Run(ctx context.Context, args []string) error {
return err
}
// TODO: different format options
fmt.Println("OCFL spec:", resp.Msg.StoreSpec)
fmt.Println("description:", resp.Msg.StoreDescription)
fmt.Println("indexed inventories:", resp.Msg.NumInventories)
fmt.Println("indexer status:", resp.Msg.Status)
fmt.Println("# found objects:", resp.Msg.NumObjectPaths)
fmt.Println("# indexed inventories:", resp.Msg.NumInventories)
fmt.Println("storage root OCFL spec:", resp.Msg.StoreSpec)
fmt.Println("storage root description:", resp.Msg.StoreDescription)
fmt.Println("storage root path:", resp.Msg.StoreRootPath)
return nil
}

0 comments on commit 0c27d4f

Please sign in to comment.