Skip to content

Add complete output for usage section of each CLI command #1132

@pjsharath28

Description

@pjsharath28

Each bbolt CLI command usage section in the docs needs to have the complete output.

Example:

$bbolt surgery clear-page-elements -h
Clears elements from the given page, which can be a branch or leaf page

Usage:
  bbolt surgery clear-page-elements <bbolt-file> [flags]

Flags:
      --from-index int   start element index (included) to clear, starting from 0
  -h, --help             help for clear-page-elements
      --output string    path to the filePath db file
      --pageId uint      page id
      --to-index int     end element index (excluded) to clear, starting from 0, -1 means to the end of page

cc: @ahrtr

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions