A package manager for creating Slint with SurrealismUI
- author : [email protected]
- createDate : 20231115
- updateDate : 20231203
- version : 0.0.1
create a project by selecting configuration items
# use default strategy to create a new project
> slimk create hello
# create a new project with a template
> slimk create hello --template slimk
> slimk create hello -t slimk
this command creates a new project but use the default strategy with no template , you will get an empty slint project
you do not need to name the project , this way will use your root directory
# no name
> slimk init
# with name
> slimk init hello
# native
> slimk list -n
# remote
> slimk list -r
# both
> slimk list -a
> slimk config --get update
> slimk config --get create
Due to the lack of an independent server, I have designed it to rely on Github. Therefore, if you are unable to connect well to Github, the initialization of SLNs is likely to display network errors
Slimk : init conf successfully!
Slimk : Downloading | Updating default template...
thread 'main' panicked at 'download failed, please check your network settings!', src\lib\core.rs:229:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
- go to : https://github.com/Surrealism-All/slimk-template and download latest release
- unzip it into repo directory
- write the following configuration into natives
{
"natives": {
"slimk-binary": {
"id": 1701616493916,
"url": "E:\\slimk\\repo\\slimk-binary",
"note": "this is a native default template use Slint with SurrealismUI"
}
}
}
- : create command
- : init command
- : list command
- : config command
- : --list options
- Reduce the module section in the release of the slimk-template repository : Detach modules when downloading templates to prevent them from being forcibly dependent
- Add install command to add module into ui
- More humanized
- Stronger interaction