Managing profile parameters
You can manage your profile parameters in the following ways:
- Add or change a profile parameter.
- Delete a profile parameter.
- Run a command with parameters from another profile.
Add or change a profile parameter
To add or change a profile parameter, use the command:
ncp config set <parameter name> <parameter value>
For example, change the default folder:
- Get information about the current profile parameters.
- Change the default folder (
folder-id
parameter):ncp config set folder-id b1g68...
- Make sure that the parameter changed:
View the full list of profile parameters. You can also change your profile parameters using the profile wizard.
Delete a profile parameter
To delete a profile parameter, use the command:
ncp config unset <parameter name>
For example, delete the default folder:
- Get information about the current profile parameters.
- Delete the default folder (
folder-id
parameter):ncp config unset folder-id
- Make sure that the parameter was deleted:
Run a command with parameters from another profile
To run a command using parameters from a different profile, add the --profile <profile name>
parameter to the command.
For example, view the test
profile parameters without activating it: