Sylk Package
Package
In Sylk, a package
is a way to group related message
and enum
definitions together. This can be useful when you have a large set of message definitions, as it allows you to organize them in a way that makes sense for your application.
By organizing your message definitions into packages, you can make your code more modular and easier to maintain.
In Sylk CLI, you can define custom package resource types using the
sylk generate package foo.bar.v1
# βfooβ.βbarβ.βv1β
# | | |
# | | ββ The version of the package.
# | ββ The namespace of the package (logical grouping).
# ββ Root namespace.
sylk generate package foo.bar
# βfooβ.βbar
# | |
# | ββ The namespace of the package (logical grouping).
# ββ Root namespace.
π Info
sylk generate
command options are listed in the CLI Commands
section