Logo

preferences

preferences

View and edit account preferences

Usage: sos preferences <COMMAND>

Commands:
  list         List preferences
  get          Print a preference
  remove       Remove a preference
  boolean      Set a boolean preference
  number       Set a number preference
  string       Set a string preference
  string-list  Set a string list preference
  clear        Remove all preferences
  help         Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

list

List preferences

Usage: sos preferences list [OPTIONS]

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help

get

Print a preference

Usage: sos preferences get [OPTIONS] <KEY>

Arguments:
  <KEY>  Preference key

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help

remove

Remove a preference

Usage: sos preferences remove [OPTIONS] <KEY>

Arguments:
  <KEY>  Preference key

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help

boolean

Set a boolean preference

Usage: sos preferences boolean [OPTIONS] <KEY> <VALUE>

Arguments:
  <KEY>    Preference key
  <VALUE>  Boolean value

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help

number

Set a number preference

Usage: sos preferences number [OPTIONS] <KEY> <VALUE>

Arguments:
  <KEY>    Preference key
  <VALUE>  Numeric value (IEEE754)

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help

string

Set a string preference

Usage: sos preferences string [OPTIONS] <KEY> <VALUE>

Arguments:
  <KEY>    Preference key
  <VALUE>  String value

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help

string-list

Set a string list preference

Usage: sos preferences string-list [OPTIONS] <KEY> [VALUE]...

Arguments:
  <KEY>       Preference key
  [VALUE]...  String values

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help

clear

Remove all preferences

Usage: sos preferences clear [OPTIONS]

Options:
  -a, --account <ACCOUNT>  Account name or address
  -h, --help               Print help