Subscribe to a subject on a NATS account
Subscribe to a subject on a NATS account
nsc tool sub [flags]
nsc tool sub <subject>
nsc tool --queue <name> subject
-a, --account string account name
-E, --encrypt encrypted payload
-h, --help help for sub
-q, --queue string subscription queue name
-u, --user string user name
--config-dir string nsc config directory
--data-dir string nsc data store directory
-i, --interactive ask questions for various settings
--keystore-dir string nsc keystore directory
--nats string nats url, defaults to the operator's service URLs
-K, --private-key string Key used to sign. Can be specified as role (where applicable),
public key (private portion is retrieved)
or file path to a private key or private key