Documentation ΒΆ
Overview ΒΆ
Copyright Β© 2021 Mirco Veltri <github@mircoveltri.me>
Use of this source code is governed by Apache 2.0 license that can be found in the LICENSE file.
Directories ΒΆ
Path | Synopsis |
---|---|
Package cmd contains all the commands and subcommands for sveltin.
|
Package cmd contains all the commands and subcommands for sveltin. |
Package common contains utility functions for collections, maps and filesystem.
|
Package common contains utility functions for collections, maps and filesystem. |
Package config contains structs and interfaces used to map sveltin artifact to configurations.
|
Package config contains structs and interfaces used to map sveltin artifact to configurations. |
Package helpers contains helper functions used across commands.
|
Package helpers contains helper functions used across commands. |
factory
Package factory ...
|
Package factory ... |
internal
|
|
builder
Package builder implements the Builder design pattern used to generate all sveltin's artifacts (project, page, metadata, etc.)
|
Package builder implements the Builder design pattern used to generate all sveltin's artifacts (project, page, metadata, etc.) |
composer
Package composer implements the Composite design pattern used to manage files and folder structure for sveltin projects and artifacts.
|
Package composer implements the Composite design pattern used to manage files and folder structure for sveltin projects and artifacts. |
css
Package css implements the Template Method design pattern to allow the project setup based on the selected CSSLib.
|
Package css implements the Template Method design pattern to allow the project setup based on the selected CSSLib. |
errors
Package sveltinerr contains all the utility functions to map errors in Sveltin.
|
Package sveltinerr contains all the utility functions to map errors in Sveltin. |
fsm
Package fsm ...
|
Package fsm ... |
ftpfs
Package ftpfs handle connections and operations to deal with an FTP server.
|
Package ftpfs handle connections and operations to deal with an FTP server. |
markup
Package markup defines styles and colors used to print messages on the shell as if they were HTML tags.
|
Package markup defines styles and colors used to print messages on the shell as if they were HTML tags. |
migrations
Package migrations implements the Mediator design pattern used to manage migrations over sveltin versions.
|
Package migrations implements the Mediator design pattern used to manage migrations over sveltin versions. |
npmc
Package npmc defines the parser, the writer and utility functions for the package.json file.
|
Package npmc defines the parser, the writer and utility functions for the package.json file. |
pathmaker
Package pathmaker defines utility functions used to navigate through the project structure.
|
Package pathmaker defines utility functions used to navigate through the project structure. |
shell
Package shell defines OS level ways to interact with node package managers and git command.
|
Package shell defines OS level ways to interact with node package managers and git command. |
tpltypes
Package tpltypes defines structs used to define data shared with template files.
|
Package tpltypes defines structs used to define data shared with template files. |
Package resources provides access to files embedded in the running Sveltin program.
|
Package resources provides access to files embedded in the running Sveltin program. |
tui
|
|
Package utils contains utility function for errors, node package manager, text, progressbar, github.
|
Package utils contains utility function for errors, node package manager, text, progressbar, github. |
Click to show internal directories.
Click to hide internal directories.