Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 674 Bytes

File metadata and controls

47 lines (31 loc) · 674 Bytes

fluree use

Set the active ledger.

Usage

fluree use <LEDGER>

Arguments

Argument Description
<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