Skip to content

Commit

Permalink
chore: add version and changelog
Browse files Browse the repository at this point in the history
Signed-off-by: kaanyagci <kaan.yagci@makepad.fr>
  • Loading branch information
kaanyagci committed Aug 12, 2024
1 parent 08ca69f commit 2b39728
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [0.0.1] - 2024-08-12

### Added

- `init-project`, `add-chart`, `add-app` and `versions` commands created
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"os"
"path/filepath"

"github.com/Makepad-fr/kickstart/internal"
"github.com/Makepad-fr/kickstart/internal/application"
"github.com/Makepad-fr/kickstart/internal/chart"
"github.com/Makepad-fr/kickstart/internal/project"
Expand All @@ -19,6 +20,8 @@ func Execute() {
command := os.Args[1]

switch command {
case "version":
fmt.Println(internal.CLIVersion)
case "init-project":
if len(os.Args) != 3 {
fmt.Println("Usage: kickstart init-project <project-name>")
Expand Down
3 changes: 3 additions & 0 deletions internal/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package internal

const CLIVersion string = "0.0.1"

0 comments on commit 2b39728

Please sign in to comment.