template / commit
A few small changes:
config.go | 9 +++++---- scripts/clean-install.ps1 | 6 ++++-- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/config.go b/config.go index 24c01d1..9477ccf 100644 --- a/config.go +++ b/config.go @@ -13,15 +13,15 @@ type ProfileType string const ( FileType ProfileType = "file" - FolderType = "folder" + FolderType ProfileType = "folder" ) type OSType string const ( Windows OSType = "Windows" - Mac = "Mac" - All = "All" + Mac OSType = "Mac" + All OSType = "All" ) type Profile struct { @@ -82,8 +82,9 @@ Today's notes }, { Name: "note", - Description: "Creates a MD file in the current folder in the format YYYY-MM-DD[-ProjectName][-vVersion].md", + Description: "Creates a MD file in ~/Dropbox/Notes in the format YYYY-MM-DD[-ProjectName][-vVersion].md", OS: "All", + Path: "~/Dropbox/Notes", IsDefault: true, Type: FileType, NamePatterns: []string{ diff --git a/scripts/clean-install.ps1 b/scripts/clean-install.ps1 index ce4b25b..e79e2ef 100644 --- a/scripts/clean-install.ps1 +++ b/scripts/clean-install.ps1 @@ -1,7 +1,9 @@ $scriptPath = Split-Path -Path $MyInvocation.MyCommand.Path -Parent Set-Location "$scriptPath/.." -Remove-Item ~/.template.yaml -ErrorAction SilentlyContinue go install + Remove-Item ~/.templates -Recurse -ErrorAction SilentlyContinue -Copy-Item .\templates -Destination ~/.templates -Recurse \ No newline at end of file +Copy-Item .\templates -Destination ~/.templates -Recurse + +Remove-Item ~/.template.yaml -ErrorAction SilentlyContinue \ No newline at end of file