FlureeLabs

fluree use

Set the active ledger.

Usage

fluree use <LEDGER>

Arguments

ArgumentDescription
<LEDGER>Ledger name to set as active

Description

Sets the specified ledger as the active ledger. Subsequent commands that don't specify a ledger will use this one.

Examples

# Switch to a different ledger
fluree use production

# Verify with info
fluree info

Output

Active ledger set to 'production'

Errors

If the ledger doesn't exist:

error: ledger 'nonexistent' not found

See Also

  • list - List all ledgers
  • create - Create a new ledger