CLI

CLI Changelog

115min
1 9 6 3rd august 2022 allow md and htm file extensions 1 9 5 22nd march 2022 bug fixes logs fix a crash on logs when a specific deprecation warning is shown 1 9 4 15th march 2022 bug fixes export/pull extend wait time to 2 minutes to lessen "pull failed" issue 1 9 3 25th january 2022 bug fixes graphiql fix missing error/warning linting in editor 1 9 2 25th january 2022 features sync show which file is failing if a sync error occurs misc update dependencies 1 9 1 21st january 2022 bug fixes pull improve pull support on windows for page redirects with special characters misc improve log loading performance remove unused code update dependencies and remove unused dependencies 1 9 0 23rd september 2021 features pull you can now pull modules that are placed in the modules folder alongside marketplace builder to do this pass in the name of the module to the pull command, for example siteglide cli pull production module my great module modules a new command that will display a list of modules installed on the site these names can then be used in the pull command to download the content of those modules example siteglide cli modules production bug fixes migrate ignore bannerprocess aspx pages when migration from adobe bc 1 8 19 20th september 2021 bug fixes sync fix studio sass not compiling when either custom scss or custom variables scss was synced 1 8 18 10th september 2021 bug fixes migrate fix css not converting to asset urls for muse sites fix muse data hidpi src not migrating correctly 1 8 17 2nd september 2021 bug fixes migrate ignore converting bc search forms when migrating 1 8 16 31st august 2021 bug fixes migrate fix migrate command failing to run 1 8 15 27th august 2021 bug fixes deploy fix a sites homepage not updating during a deploy misc improved messaging of some logs 1 8 14 17th june 2021 features export allow export of heic images sync add the following file types to the sync watcher heic key mov mp3 numbers ttf pages pptx 1 8 13 15th june 2021 features migrate the size of your assets and codebase will now be displayed when the migrate command has finished fixes migrate ignore orderretrieve pages from business catalyst 1 8 12 3rd june 2021 fixes deploy block deploy and show an error if assets are over 5gb migrate improve compatibility with images using fill proportional within business catalyst websites 1 8 11 29th april 2021 fixes migrate improved compatibility with siteglide forms and cli migrated pages 1 8 10 21st april 2021 fixes migrate fixed a bug where migrate would fail if a site had no assets fixed a bug where migrate would fail if an asset did not have a valid link/href/src misc improved error messages throughout 1 8 9 13th april 2021 features migrate full adobe muse support when migrating adobe muse sites, cli migrate will not correctly download all assets and configuration files please append the flag muse to your migrate command when migrating a muse site 1 8 8 9th april 2021 fixes migrate add support for finding images within a data orig src attribute these are commonly used with muse websites improved the "something went wrong" error during form conversionfixes 1 8 7 30th march 2021 fixes migrate fix modulestylesheet css missing from migrated business catalyst sites 1 8 6 29th march 2021 fixes migrate fix migrate command not running gui fix open command not working fix open command opening browser before graphiql was ready misc graphql removed the deprecated graphql command, please use gui instead graphql \ removed the deprecated graphql command, please use `gui` instead 1 8 5 23rd march 2021 fixes deploy fix for deploying with images reporting an internal server error 1 8 4 23rd march 2021 fixes deploy fix deploy potentially not working correctly logs fix filter flag potentially not working correctly 1 8 3 22nd march 2021 fixes sync improvement to fix for syncing assets after sync had been running for more than 1 hour improved sync messaging 1 8 2 21st march 2021 fixes add the add command will now detect if you are trying to run the it within your computers home folder and stop you continuing sync on macos, sync will no longer report errors about ds store files fixed an issue trying to sync assets after sync had been running for more than 1 hour general improved error messaging 1 8 1 12th march 2021 fixes migrate improve image compression process fix deploy too large error when image compression fails 1 8 0 11th march 2021 features list a new command of siteglide cli list which will show an output the current environments setup for the site these will display in the format of \[environment name] \[url] migrate new flag of m or max recursive depth that will allow you to define how many html links deep the scraper should follow as an example \ your homepage links to page /b \ page /b links to page /c setting m 1 will only download the homepage and page /b page /c will not be downloaded as it is more than 1 link deep away from the entry point of the migration any assets of the pages are downloaded as normal new flag of i or ignore to ignore certain urls this is a string that gets passed into a if(currenturl includes(ignore)) function for example if you do not want your blog to be migrated and the url of your blog posts are site com/post/post name then you can pass in /post/ for them to be ignored these can be stacked with multiple ignores, for example to ignore both your about and contact page you would do siteglide cli migrate \<env> url \<url> i /about i /contact bug fixes migrate fix migrate not completing on windows due to invalid characters in folder paths and file names global fixed the progress spinner icon missing in certain environments 1 7 7 17th february 2021 features migrate images within a data src element are now found, migrated and the url converted for example the following image \<img data src="/img/image jpg" /> would be correctly migrated to \<img data src="{{ 'img/image jpg' | asset url}}" /> bug fixes sync assets with an uppercase file extension can now be synced correctly migrate improved support for adobe muse sites asset file name casing is preserved instead of being automatically converted to lowercase misc show changelog in update message updated minimum nodejs version to 12 1 7 6 12th february 2021 bug fixes sync fix syncing assets deploy fix deploying assets general fix incorrect message within update prompt 1 7 5 8th february 2021 bug fixes sync temporarily revert to the non direct to s3 version 1 7 4 13th january 2021 features sync syncing direct to s3 has now become the default this removed the d flag as it is no longer needed 1 7 3 27th november 2020 features sync new flag of l on sync for live reload functionality when you save an item within your ide, your browser will automatically reload to show you the changes please make sure you have the relevant browser extension installed for this to work export new flag of a for asset export only this will export code based assets within the sites /assets folder, but not the sites codebase (pages, headers, footers etc) you can mix this with w to download only assets and include files like images, video etc bug fixes deploy fixed a misleading error message if a deploy failed with a 5xx error 1 7 2 18th november 2020 bug fixes migrate fixed a bug that caused some javascript files to have the contents `undefined` after being migrated 1 7 1 11th november 2020 features pull a new flag for ignoring assets that pull would usually download such as js, css and json files the default is that pull will download developer assets, but the new i flag will ignore that folder completely this is useful if you want to pull the updates to pages, but know that no developer files such as css or js have changed 1 7 0 6th november 2020 features liquid evaluator alongside our graphiql editor, we now have a new liquid evaluator tool this will let you quickly test liquid from the cli, without having to create and save a page in siteglide admin to use this new tool, we have moved it and graphiql to siteglide cli gui \<env> command the siteglide cli graphql \<env> command will continue to work, but is now deprecated and will be removed in a future update sync sync now watches for and syncs map files which are commonly used alongside minified css or js files export export has a new optional flag of csv , this will export the data files as a zip of multiple csv files instead of json migrate migrate will now no longer automatically deploy the site when it has finished this gives you time to remove and folders/pages that you may not want to be migrated you can then use the siteglide cli deploy \<env> w command as normal to deploy the site you can use automatic deploy within a migration by including the a flag bug fixes deploy fixed an issue where the homepage would not update properly when the site is deployed pull pull will now automatically stop and exit if it fails migrate fixed an issue where migrate would not run under certain environments fixed an issue where after a migration the sites homepage would not save correctly in siteglide admin 1 6 10 22nd september 2020 bug fixes fixed a bug when running the add command with sites on the sydney datacenter 1 6 9 22nd september 2020 bug fixes fixed a bug where the add command would not correctly write the configuration file to disk in previous versions this would case a “permission or site locked” error to fix any sites with this issue, simply update and then re run the add command for that site 1 6 8 18th september 2020 features pull now also downloads the following file types less txt html svg map json htm bug fixes general improved logging throughout if a url is invalid cli will let you know of an update straight away, not after you have finished running your command migrate ignore literature retrieve pages for business catalyst sites 1 6 7 7th august 2020 bug fixes general fix instructions within update notifier 1 6 6 6th august 2020 bug fixes pull/export fix warnings related to modules folder for some instances 1 6 5 16th july 2020 bug fixes migrate fix “last edited” date in admin for pages that have been migrated via cli improve performance by updating the core page conversion library fixed incorrect download of some business catalyst pages 1 6 4 29th june 2020 bug fixes migrate allow aspx pages, fixes pagination within business catalyst webapps slow down the concurrency of downloads to improve stability fix “type error” log that sometimes appeared added a user agent to help with any potential site blocks fixed "undefined error" that sometimes appeared deploy fixed error logging when a deploy fails because of invalid syntax misc graphql update dependencies 1 6 3 22nd june 2020 features pull/export/sync/deploy support for modules folder bug fixes migrate fix migrated forms not working correctly 1 6 2 15th june 2020 bug fixes migrate fixed an out of memory error when trying to migrate large sites deploy improved error messaging if the codebase of a site is larger than the allowed limit 1 6 1 4th june 2020 features migrate add a certification command to migration help the help flag on all commands will now show the correct usage and a brief description of the command bug fixes migrate while downloading a site, the cli will now ignore any files that return a response header outside of the 2xx range links to asset files that had the word assets within the url will now be linked correctly home page will be set visually within siteglide admin fix form detection/conversion for certain sites improved logging during migration upgraded core packages for image compression 1 6 0 27th may 2020 features migrate a brand new tool to migrate your existing websites from anywhere on the web after adding your instance simply run siteglide cli migrate \<env> url \<existing site> for more information see here deploy deploy to s3 when deploying assets using the w flag, assets will now get directly sent to s3, improving the performance of the deploy command this also means that your assets can be up to 5gb in size, up from the existing 50mb limit bug fixes sync the “enabled sync” message has been updated to be clearer pull fixed a warning related to modules that sometimes was shown improved speed and reliability of assets deploy the deploying logs have been updated to be clearer misc support for upcoming version of nodejs 1 5 3 13th may 2020 features sync supports syncing of video files with extensions of mp4 , ogg and webm bug fixes sync improve error messaging for files that are not allowed 1 5 2 9th may 2020 misc support for upcoming v14 of nodejs 1 5 1 23rd april 2020 bug fixes pull fix certain files not pulling correctly export fix certain files not exporting correctly improve error messaging 1 5 0 22nd april 2020 features graphiql add “explorer”! this new functionality will allow you to explore and build your graph queries using a simple dropdown and checkbox method add an open (shorthand o ) flag that will automatically open a window to the graphiql editor in your default web browser sync sync delete if you have sync running and delete a file locally on your computer, it will also remove that file from your website sync direct to s3 add an optional flag of direct assets upload (shorthand d ) that syncs asset files directly from your machine to your sites asset url which improves speed of syncing this will become default in the future export remove the limit when downloading assets via export with assets logs you can now filter the type of logs you would like to see with the flag filter (shorthand f ) this is useful if you would only like to see error message from your liquid logs more context data will now log under each line showing information such as the path the error occurred on, the users email address if they were logged in and the liquid partial the error originated from add a quiet (shorthand q ) flag which will suppress the above extra context data bug fixes sync when using a pre processor (e g sass), there were cases where the cli would sync the outputted css file before it had finished being compiled, resulting in an empty css file on your site the sync command will now wait for the compiled file to finish being written to your local disk before attempting to sync it pull/export pull/export improved downloading of code files to improve reliability and also speed export allow shorthand flag of w that acts the same as with assets init improved cli init download method 1 4 1 26th march 2020 bug fixes export excludes some automatically generated siteglide files from export 1 4 0 25th march 2020 features export a new optional flag of with assets that will allow export to download non developer assets (such as pdfs, images, videos etc) note this is currently limited to sites with less than 1,000 total assets a future update will remove this limit 1 3 0 4th february 2020 features deploy if you have made a lot of changes in your codebase, then you can use deploy to re send all files to your site at once export export is very similar to pull, but it will also grab all data 1 2 2 15th november 2019 features pull will find and download and sass ( scss , sass ) and less ( less ) files 1 2 1 2nd october 2019 bug fixes fix a bug that caused unknown command error on new installs of cli 1 2 0 10th september 2019 features graphiql support! now with the siteglide cli graphql \<env> command logs support! now with the siteglide cli logs \<env> command version command has been moved to v and not v to better align with other tools bug fixes better error handling when no api key has been generated in siteglide admin portal (instead of just silently failing) misc minimum version of nodejs 10 now (up from nodejs 8) 1 1 2 16th july 2019 misc update dependencies 1 1 1 11th july 2019 features error reporting within sync command for incorrect liquid allow syncing of zip files misc up to 4x increase in syncing speed 1 0 0 22nd may 2019 initial release