Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@agility/cli
Advanced tools
npm i @agility/cli
.npm i @agility/cli -g
.yarn add @agility/cli
.yarn global add @agility/cli
.agility login
.agility pull --guid="<<Provide Guid of your Instance>>" --locale="<<Provide the locale of the Instance>>" --channel="<<Provide the channel to be pulled>>" --baseUrl="<<Optional Parameter to provide the base URL if the pull operation doesn't work. Refer the section "Base URL's".>>"
to pull an instance.agility push --guid="<<Provide the target Instance guid>> --locale="<<Provide the locale of the Instance>>"
agility clone --sourceGuid="<<Provide Guid of your source Instance>>" --targetGuid="<<Provide the target Instance guid>>" --locale="<<Provide the locale of the Instance>>" --channel="<<Provide the channel to be cloned>>"
to perform cloning between instances.agility sync-models --sourceGuid="<<Optional Parameter Guid of your source instance>>" --targetGuid="<<Optional Parameter Guid of your target Instance>>" --pull="<<Optional Parameter value true/false>>" --dryRun="<<Optional Parameter value true/false>>" --filter="<<Optional Parameter folder path where filter file is present. Ex: - C:\Agility\filterModels.json" --folder="<<Optional Parameter name of the folder where files to be exported. If no value is provided, files will be exported to .agility-files folder>>"
.{
"Models": ["MyModel"],//referenceName of the models.
"Templates": ["My Template"] //Template name of the templates.
}
{
"ModelReferenceName": {
"result":{
"added":{
},
"updated":{
}
},
"TemplateName":{
"result":{
"added":{
},
"updated":{
}
}
}
}
}
//If a model or template is not present in the target instance, then: -
{
referenceName: 'Model with ModelReferenceName will be added.',
templateName: 'Model with TemplateName will be added.'
}
The file is generated at <Folder Name>\models-sync\modelsDryRun.json
(where Folder Name is .agility-files
or the value provided inside the folder parameter).
agility model-sync --sourceGuid="abc" --targetGuid="def"
- To Sync everything.agility model-sync --sourceGuid="abc" --targetGuid="def" --filter="C:\myFilter.json"
- Perform Sync operation on a filter.agility model-sync --sourceGuid="abc" --folder="models" --pull=true
- To perform pull operation on a folder models.agility model-sync --targetGuid="def" --folder="models"
- To perform push operation from folder models.agility model-sync --targetGuid="def" --folder="models" filter="C:\myFilter.json"
- To perform push operation on a filter using source folder models.agility model-sync --sourceGuid="abc" --targetGuid="def" --dryRun=true
- To perform Dry Run operation.In some cases when the pull operation fails to fetch the preview key, you need to override the baseUrl for the CLI to perform the pull operation. Following is the list of Base URL's for different locations. Depeneding on the location of the instance use the Base URL value for the pull operation:
If you have feedback or questions about this starter, please use the Github Issues on this repo, join our Community Slack Channel or create a post on the Agility Developer Community.
FAQs
Agility CLI for working with your content.
The npm package @agility/cli receives a total of 3 weekly downloads. As such, @agility/cli popularity was classified as not popular.
We found that @agility/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.