Set the active ledger.
fluree use <LEDGER>| Argument | Description |
|---|---|
<LEDGER> |
Ledger name to set as active |
Sets the specified ledger as the active ledger. Subsequent commands that don't specify a ledger will use this one.
# Switch to a different ledger
fluree use production
# Verify with info
fluree infoActive ledger set to 'production'
If the ledger doesn't exist:
error: ledger 'nonexistent' not found