the `project:validate` command doesn't seem to tak...
# sdf
s
the
project:validate
command doesn't seem to take any sort of parameter (according to the
--help
) where I indicate what account to validate against?
a
If takes the default account in your project.json. If you change the default account, it will be validated against that account.
You can change the default account by running account:setup and select the account/authid you want to use. It will be selected as default and then you can run any sdf action with the newly selected authid
s
thanks Ali. If I run the webstorm plugin to validate against an account (it gives me a dropdown) will it restore my default account to what it was, or does it reset my 'default' account to whatever I selected?
I ask because I'm using the node cli as well and hope validating to another account using the webstorm UI doesn't secretly change the default account my nodecli is using?
It would be VERY useful if the nodecli displayed what account it was validating against as it executes.
a
Yes i understand, that could be an enhancement. I would definitely propose this to the team. Could you please file an ehancement request on github? When webstorm offers a drop down to select an account when execuing ”deploy to account", ”validate from account" it uses the selected account on fly. It doesn't change the default account.
Node cli does show the account when validating against an account.
In case of local validation, no account information is shown as no account was reached.
if you execute
project:validate
it triggers local validation
project:validate --server
validates against account
or you could simply execute
project:validate -i
it will let you choose which kind of validation you want. Local or Against account.
s
nodecli 1.0.4 does not show the account validating against.
Copy code
Validate manifest -- Success
Validate deploy file -- Success
Validate configuration -- Success
Validate objects -- Success
Validate files -- Success
Validate folders -- Success
Validate translation imports -- Success
Validate preferences -- Success
Validate flags -- Success
Validate account settings -- Success
Validate Custom Objects against the Account -- Success
Validate file cabinet items against the account -- Success
Validate translation imports against the account -- Success
Validation COMPLETE
The validation process has finished.
unless I'm missing it above - that's all the output I get from
project:validate -i
after answering the questions
a
Okay got it. Yes it should show the account used.
Hopefully in the upcoming version we will show the account
Thanks for bringing this up.