Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project struct {
ProjectName string
Exit bool
AbsolutePath string
LogLevel flags.LogLevel
DBDriver flags.Database
GitOptions flags.Git
OSCheck map[string]bool
}
func (*Project) CreateJotlProject ¶
func (p *Project) CreateJotlProject(currentDir string, cfg config.JotlConfig) error
CreateJotlProject sets up a new Jotl project in the current directory. It checks if the user's git email is configured, initializes a git repository if needed, creates necessary directories and files, and installs database drivers.
Click to show internal directories.
Click to hide internal directories.