Documentation ¶
Index ¶
- func CreateProjectDocument(prjDir string, docType string, name string) (string, error)
- func MakeDocumentName(docType string, name string) string
- func OpenEditor(d string) error
- func OpenStudio(d string) error
- func PackProject(source string, target string) (string, error)
- type DemoType
- type DocumentInfo
- type ProjectInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateProjectDocument ¶
CreateDocument creates a new document inside the project
func MakeDocumentName ¶
MakeDocumentName creates a new document name
func OpenEditor ¶
OpenEditor opens the project directory in a editor
func OpenStudio ¶
Types ¶
type DocumentInfo ¶
type ProjectInfo ¶
type ProjectInfo struct { Name string `json:"name"` Path string `json:"path"` Documents []DocumentInfo `json:"documents"` }
func CurrentProject ¶
func CurrentProject() *ProjectInfo
func GetProjectInfo ¶
func GetProjectInfo(d string) (*ProjectInfo, error)
func ImportProject ¶
func ImportProject(repo string, dir string) (*ProjectInfo, error)
ImportProject imports a project from a zip file
func InitProject ¶
func InitProject(d string) (*ProjectInfo, error)
InitProject initializes a new project inside destination
func OpenProject ¶
func OpenProject(source string) (*ProjectInfo, error)
func RecentProjectInfos ¶
func RecentProjectInfos() []*ProjectInfo
Click to show internal directories.
Click to hide internal directories.