$ npm install @codefort/cf --global
Depending on your system, you might need to run this command as sudo.
$ mkdir codefort-theme && cd codefort-theme
$ cf init
$ cf fetch
Fetch the latest theme files and upload files when they are changed.
$ cf fetch
$ cf watch
Alternatively it's also possible to just upload or delete a single file.
$ cf upload templates/page.liquid
$ cf delete templates/page.liquid
Please note that it's recommended to always run "cf fetch" every time you resume your work, as you could risk overwriting changes by other developers by making changes to outdated files.
$ cf init
$ cf fetch
$ cf upload {filname}
$ cf delete {filname}
$ cf watch
$ npm install @codefort/cf@latest --global
Depending on your system, you might need to run this command as sudo.
Until this CLI tool reaches a 1.0
release, breaking changes will be released with a new minor version. For example 0.5.1
, and 0.5.4
will have the same API, but 0.6.0
will have breaking changes.