.do
Cli

Asset CLI

CLI reference for Asset

Asset CLI

A physical or digital asset that is tracked, managed, or utilized in business operations. Assets can be identified using GS1 identifiers (GIAI for individual assets, GRAI for returnable assets) for global traceability.

Commands

create

Register a new asset with optional GS1 identifier.

do asset create [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

update

Update asset information or status.

do asset update [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

delete

Remove an asset from tracking (decommissioning).

do asset delete [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

assign

Assign the asset to a person, location, or entity.

do asset assign [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

transfer

Transfer ownership or custody of the asset.

do asset transfer [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

locate

Update the current location of the asset.

do asset locate [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

maintain

Record maintenance performed on the asset.

do asset maintain [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

inspect

Record inspection results for the asset.

do asset inspect [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

depreciate

Calculate and record depreciation.

do asset depreciate [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

retire

Mark the asset as retired or disposed.

do asset retire [options]

Options:

  • --help - Show help
  • --json - Output as JSON
  • --quiet - Suppress output

Examples

# create
do asset create

# With JSON output
do asset create --json

# Quiet mode
do asset create --quiet