personal-svelte-cli Svelte Themes

Personal Svelte Cli

A simpler way to keep track of the different svelte templates as well as creation and automation of creating svelte, svelte kit and sapper projects for future use

Svelte CLI

This is a simple Golang script to initialize svelte projects rather than cramming npx and degit commands all the time.

In future I'll probably convert it into a Vue cli for svelte clone. Hopefully.

Usage

Clone the repository into your machine using

$ git clone https://github.com/wesleymutwiri/personal-svelte-cli.git

Change directory into the folder downloaded

$ cd personal-svelte-cli

Either

  1. Install using the Dockerfile provided and run the following commands for using the app from the dockerfile ```bash $ docker build -t svelte-cli .

$ docker run -it svelte-cli create

    Still in progress

2. Install using the makefile provided
```bash 
$ make compile

$ /bin/svelte-cli-<current_os> create <name_and_full_url_of_folder_to_be_created>
  1. Manually by building the go file if Go is installed on your machine

    $ go build .
    $ ./personal-svelte-cli create <name_and_full_url_of_folder_to_be_created>
    
  2. Using the go run command for fast compilation

    $ go run main.go create <name_and_full_url_of_folder_to_be_created>
    

Top categories

Loading Svelte Themes