Add an import
Add an import
nsc add import [flags]
nsc add import -i
nsc add import --token <filepath> --local-subject <sub>
nsc add import --token <some-http-url> --local-subject <sub>
nsc add import --src-account <account_pubkey> --remote-subject <remote-sub> --local-subject <sub>
-a, --account string account name
-h, --help help for import
-s, --local-subject string local subject
-n, --name string import name
--remote-subject string remote subject (only public imports)
--service service
--share share data when tracking latency (service only)
--src-account string src-account
-u, --token string path to token file can be a local path or an url (private imports only)
--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
-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