cmd

package
v0.2.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

Index

Constants

View Source
const (
	VANILLACSS  string = "vanillacss"
	TAILWINDCSS string = "tailwindcss"
	BULMA       string = "bulma"
	BOOTSTRAP   string = "bootstrap"
)
View Source
const (
	DEFAULTS  string = "defaults"
	EXTERNALS string = "externals"
	WEBSITE   string = "website"
	MENU      string = "menu"
	DOTENV    string = "dotenv"
)
View Source
const (
	BLANK  string = "blank"
	SAMPLE string = "sample"
)
View Source
const (
	SVELTE   string = "svelte"
	MARKDOWN string = "markdown"
)
View Source
const (
	CLI_VERSION       string = "0.2.11"
	SVELTEKIT_STARTER string = "starter"
)
View Source
const (
	DOTENV_DEV  string = ".env.development"
	DOTENV_PROD string = ".env.production"
)
View Source
const (
	ROOT          string = "root"
	CONFIG        string = "config"
	CONTENT       string = "content"
	ROUTES        string = "routes"
	API           string = "api"
	LIB           string = "lib"
	STATIC        string = "static"
	THEMES        string = "themes"
	INDEX         string = "index"
	SLUG          string = "slug"
	SETTINGS_FILE string = ".sveltin-settings.yaml"
)

Variables

View Source
var (
	AppFs = afero.NewOsFs()
)
View Source
var (
	YamlConfig []byte
)

Functions

func Execute

func Execute()

func GetSveltinCommands

func GetSveltinCommands() []*cobra.Command

func NewCmdRun

func NewCmdRun(cmd *cobra.Command, args []string)

func NewPageCmdRun

func NewPageCmdRun(cmd *cobra.Command, args []string)

func RunBuildCmd

func RunBuildCmd(cmd *cobra.Command, args []string)

func RunGenerateMenuCmd

func RunGenerateMenuCmd(cmd *cobra.Command, args []string)

func RunGenerateRSSCmd

func RunGenerateRSSCmd(cmd *cobra.Command, args []string)

func RunGenerateSitemapCmd

func RunGenerateSitemapCmd(cmd *cobra.Command, args []string)

func RunNewContentCmd

func RunNewContentCmd(cmd *cobra.Command, args []string)

func RunNewMetadataCmd

func RunNewMetadataCmd(cmd *cobra.Command, args []string)

func RunNewResourceCmd

func RunNewResourceCmd(cmd *cobra.Command, args []string)

func RunPrepareCmd

func RunPrepareCmd(cmd *cobra.Command, args []string)

func RunPreviewCmd

func RunPreviewCmd(cmd *cobra.Command, args []string)

func RunServerCmd

func RunServerCmd(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL