0.1.0 • Published 9 years ago

tile-engine-cli v0.1.0

Weekly downloads
14
License
MIT
Repository
github
Last release
9 years ago

Tile Engine CLI

The command line interface for tile engine specifically designed for Compose (a WYSIWYG website builder).

Usage:
  te [action] [target] [options]

Action:
  create                              Create tile/site/section in current directory
  compile                             Compile CTML/page/section
  preview                             Preview CTML/page/section
  precompile                          Precompile tile definitions, this will
                                      bootstrap the performance

Target (when action == create):
  tile                                Create a tile in current directory, by default
                                      it's platform tile which seats in 'tiles/'
                                      folder. If site name is specified, it will
                                      create a site level tile.
                                      e.g.
                                      # create platform tile foo
                                      $ te create tile foo

                                      # create site tile foo
                                      $ te create tile foo --site=mysite
                                      # or
                                      $ te create tile mysite/foo

  site                                Create a site in current directory, this will
                                      setup the whole folder architecture.
                                      e.g.
                                      $ te create site mysite

  section                             Create a section in one site.
                                      Site name need to be specified.
                                      e.g.
                                      $ te create section header --site=mysite
                                      # or
                                      $ te create section mysite/header

Target (when action == compile/preview):
  ctml                                Compile/preview a CTML file in ctml folder.
                                      Inside ctml folder, you can put any files with
                                      file extension .ctml in it. For example,
                                      wow.ctml. Please refer to CTML syntax help for
                                      more information about CTML.
                                      e.g.
                                      $ te compile ctml wow

  page                                Compile/preview a page.
                                      e.g.
                                      $ te preview page mysite/home

  section                             Compile/preview a section of one site.
                                      e.g.
                                      $ te preview section mysite/header

Options:
  --site                              Site name
  -h, --help                          Show usage
  -v, --version                       Show version
0.1.0

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago