Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

[FEATURE] Build formula with Ritchie-cli #180

Merged
merged 28 commits into from
Jun 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ff2e4e9
Create new command `rit test formula`
kaduartur Jun 2, 2020
72b1492
Create 'workspace_manager.go' to manager local formulas workspaces
kaduartur Jun 3, 2020
34653a8
Merge branch 'master' into feature/test_formula
kaduartur Jun 3, 2020
9d25f34
Merge branch 'master' into feature/test_formula
kaduartur Jun 4, 2020
1dc3424
Create rit build formula
kaduartur Jun 5, 2020
81e3343
Merge branch 'master' into feature/test_formula
kaduartur Jun 5, 2020
5b8a2d1
Create building formula
kaduartur Jun 10, 2020
c50da79
Merge branch 'master' into feature/test_formula
kaduartur Jun 10, 2020
12751a5
Create building formula
kaduartur Jun 10, 2020
d270cb2
Merge branch 'master' into feature/test_formula
kaduartur Jun 15, 2020
b4bb99c
Create test for build formula
kaduartur Jun 17, 2020
b556954
Merge branch 'master' into feature/test_formula
kaduartur Jun 17, 2020
c4915a6
Fix lint
kaduartur Jun 17, 2020
c2bfcde
Fix lint
kaduartur Jun 17, 2020
3a1af84
Fix lint
kaduartur Jun 17, 2020
1d4566f
Remove unused libs
kaduartur Jun 17, 2020
5843782
Fix tests
kaduartur Jun 17, 2020
ec35579
Create test for build formula
kaduartur Jun 18, 2020
d6c5da4
Create test for build formula
kaduartur Jun 18, 2020
b9a551c
Fix Makefile
kaduartur Jun 18, 2020
2283440
Fix build
kaduartur Jun 22, 2020
bdb0262
Merge branch 'master' into feature/build_formula
kaduartur Jun 22, 2020
18521ac
Fix qa version
kaduartur Jun 22, 2020
bcd3f0f
Fix qa version
kaduartur Jun 22, 2020
8f242a9
Fix qa version
kaduartur Jun 22, 2020
ea6baf7
Fix qa version
kaduartur Jun 22, 2020
d4687f1
Refactor Build
kaduartur Jun 22, 2020
2bdb7e3
Add watch for config files
kaduartur Jun 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .circleci/scripts/bucket.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

if expr "$VERSION" : 'qa-*' >/dev/null; then
if expr "$VERSION" : '^[0-9]\+.0.0-qa' >/dev/null; then
echo "ritchie-cli-bucket234376412767550"
elif expr "$VERSION" : '^[0-9]\+' >/dev/null; then
echo "ritchie-cli-bucket152849730126474"
Expand All @@ -10,4 +10,4 @@ elif expr "$VERSION" : '^beta' >/dev/null; then
echo "ritchie-cli-bucket152849730126474"
else
echo ""
fi
fi
2 changes: 1 addition & 1 deletion .circleci/scripts/version.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if expr "$CIRCLE_BRANCH" : 'qa' >/dev/null; then
export RELEASE_VERSION="qa-${CIRCLE_BUILD_NUM}"
export RELEASE_VERSION="${CIRCLE_BUILD_NUM}.0.0-qa.1"
elif expr "$CIRCLE_BRANCH" : '^release-.*' >/dev/null; then
export RELEASE_VERSION=$(echo "$CIRCLE_BRANCH" | cut -d '-' -f 2-)
elif expr "$CIRCLE_BRANCH" : '^nightly' >/dev/null; then
Expand Down
59 changes: 27 additions & 32 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Go parameters
TEAM=team
SINGLE=single
GOCMD=go
GOBUILD=$(GOCMD) build
GOCLEAN=$(GOCMD) clean
GOTEST=$(GOCMD) test
GOTOOLCOVER=$(GOCMD) tool cover
GOGET=$(GOCMD) get
GO_CMD=go
GO_BUILD=$(GO_CMD) build
GO_CLEAN=$(GO_CMD) clean
GO_TEST=$(GO_CMD) test
GO_TOOL_COVER=$(GO_CMD) tool cover
GO_GET=$(GO_CMD) get
BINARY_NAME=rit
SINGLE_CMD_PATH=./cmd/$(SINGLE)/main.go
TEAM_CMD_PATH=./cmd/$(TEAM)/main.go
Expand All @@ -33,20 +33,28 @@ IS_BETA=$(shell echo $(VERSION) | egrep "^beta-.*")
GONNA_RELEASE=$(shell ./.circleci/scripts/gonna_release.sh)
NEXT_VERSION=$(shell ./.circleci/scripts/next-version.sh)

build:
mkdir -p $(DIST_MAC_TEAM) $(DIST_MAC_SINGLE) $(DIST_LINUX_TEAM) $(DIST_LINUX_SINGLE) $(DIST_WIN_TEAM) $(DIST_WIN_SINGLE)
build-linux:
mkdir -p $(DIST_LINUX_TEAM) $(DIST_LINUX_SINGLE)
#LINUX
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_LINUX_TEAM)/$(BINARY_NAME) -v $(TEAM_CMD_PATH)
#MAC
GOOS=darwin GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_MAC_TEAM)/$(BINARY_NAME) -v $(TEAM_CMD_PATH)
#WINDOWS 64
GOOS=windows GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_WIN_TEAM)/$(BINARY_NAME).exe -v $(TEAM_CMD_PATH)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO_BUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_LINUX_TEAM)/$(BINARY_NAME) -v $(TEAM_CMD_PATH)
#LINUX SINGLE
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_LINUX_SINGLE)/$(BINARY_NAME) -v $(SINGLE_CMD_PATH)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GO_BUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_LINUX_SINGLE)/$(BINARY_NAME) -v $(SINGLE_CMD_PATH)

build-mac:
mkdir -p $(DIST_MAC_TEAM) $(DIST_MAC_SINGLE)
#MAC
GOOS=darwin GOARCH=amd64 $(GO_BUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_MAC_TEAM)/$(BINARY_NAME) -v $(TEAM_CMD_PATH)
#MAC SINGLE
GOOS=darwin GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_MAC_SINGLE)/$(BINARY_NAME) -v $(SINGLE_CMD_PATH)
GOOS=darwin GOARCH=amd64 $(GO_BUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_MAC_SINGLE)/$(BINARY_NAME) -v $(SINGLE_CMD_PATH)

build-windows:
mkdir -p $(DIST_WIN_TEAM) $(DIST_WIN_SINGLE)
#WINDOWS 64
GOOS=windows GOARCH=amd64 $(GO_BUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_WIN_TEAM)/$(BINARY_NAME).exe -v $(TEAM_CMD_PATH)
#WINDOWS 64 SINGLE
GOOS=windows GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_WIN_SINGLE)/$(BINARY_NAME).exe -v $(SINGLE_CMD_PATH)
GOOS=windows GOARCH=amd64 $(GO_BUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_WIN_SINGLE)/$(BINARY_NAME).exe -v $(SINGLE_CMD_PATH)

build: build-linux build-mac build-windows
ifneq "$(BUCKET)" ""
echo $(BUCKET)
aws s3 sync dist s3://$(BUCKET)/$(RELEASE_VERSION) --include "*"
Expand All @@ -56,20 +64,7 @@ else
echo "NOT GONNA PUBLISH"
endif

build-circle:
mkdir -p $(DIST_MAC_TEAM) $(DIST_MAC_SINGLE) $(DIST_LINUX_TEAM) $(DIST_LINUX_SINGLE) $(DIST_WIN_TEAM) $(DIST_WIN_SINGLE)
#LINUX
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_LINUX_TEAM)/$(BINARY_NAME) -v $(TEAM_CMD_PATH)
#MAC
GOOS=darwin GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_MAC_TEAM)/$(BINARY_NAME) -v $(TEAM_CMD_PATH)
#WINDOWS 64
GOOS=windows GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE)' -o ./$(DIST_WIN_TEAM)/$(BINARY_NAME).exe -v $(TEAM_CMD_PATH)
#LINUX SINGLE
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_LINUX_SINGLE)/$(BINARY_NAME) -v $(SINGLE_CMD_PATH)
#MAC SINGLE
GOOS=darwin GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_MAC_SINGLE)/$(BINARY_NAME) -v $(SINGLE_CMD_PATH)
#WINDOWS 64 SINGLE
GOOS=windows GOARCH=amd64 $(GOBUILD) -ldflags '-X $(MODULE)/pkg/cmd.Version=$(VERSION) -X $(MODULE)/pkg/cmd.BuildDate=$(DATE) -X $(MODULE)/pkg/cmd.CommonsRepoURL=$(COMMONS_REPO_URL)' -o ./$(DIST_WIN_SINGLE)/$(BINARY_NAME).exe -v $(SINGLE_CMD_PATH)
build-circle: build-linux build-mac build-windows

release:
git config --global user.email "$(GIT_EMAIL)"
Expand Down Expand Up @@ -111,11 +106,11 @@ unit-test:

functional-test-single:
mkdir -p $(BIN)
$(GOTEST) -v -count=1 -p 1 `go list ./functional/single/... | grep -v vendor/`
$(GO_TEST) -v -count=1 -p 1 `go list ./functional/single/... | grep -v vendor/`

functional-test-team:
mkdir -p $(BIN)
$(GOTEST) -v -count=1 -p 1 `go list ./functional/team/... | grep -v vendor/`
$(GO_TEST) -v -count=1 -p 1 `go list ./functional/team/... | grep -v vendor/`

rebase-nightly:
git config --global user.email "$(GIT_EMAIL)"
Expand Down
14 changes: 14 additions & 0 deletions cmd/single/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import (
"os"
"time"

"github.com/ZupIT/ritchie-cli/pkg/formula/builder"

"k8s.io/kubectl/pkg/util/templates"

"github.com/ZupIT/ritchie-cli/pkg/upgrade"
Expand All @@ -21,11 +23,14 @@ import (
"github.com/ZupIT/ritchie-cli/pkg/env/envcredential"
"github.com/ZupIT/ritchie-cli/pkg/file/fileutil"
"github.com/ZupIT/ritchie-cli/pkg/formula"
"github.com/ZupIT/ritchie-cli/pkg/formula/watcher"
fworkspace "github.com/ZupIT/ritchie-cli/pkg/formula/workspace"
"github.com/ZupIT/ritchie-cli/pkg/prompt"
"github.com/ZupIT/ritchie-cli/pkg/rcontext"
"github.com/ZupIT/ritchie-cli/pkg/security/secsingle"
"github.com/ZupIT/ritchie-cli/pkg/session"
"github.com/ZupIT/ritchie-cli/pkg/session/sesssingle"
"github.com/ZupIT/ritchie-cli/pkg/stream"
"github.com/ZupIT/ritchie-cli/pkg/workspace"
)

Expand Down Expand Up @@ -103,6 +108,7 @@ func buildCommands() *cobra.Command {
setCmd := cmd.NewSetCmd()
showCmd := cmd.NewShowCmd()
updateCmd := cmd.NewUpdateCmd()
buildCmd := cmd.NewBuildCmd()
upgradeCmd := cmd.NewUpgradeCmd(upgradeUrl, upgradeManager)

// level 2
Expand All @@ -123,6 +129,12 @@ func buildCommands() *cobra.Command {
autocompleteZsh := cmd.NewAutocompleteZsh(autocompleteGen)
autocompleteBash := cmd.NewAutocompleteBash(autocompleteGen)
createFormulaCmd := cmd.NewCreateFormulaCmd(formulaCreator, inputText, inputList, inputBool)
fileManager := stream.NewFileManager()
dirManager := stream.NewDirManager(fileManager)
formulaWorkspace := fworkspace.New(ritchieHomeDir, fileManager)
formulaBuilder := builder.New(ritchieHomeDir, dirManager, fileManager)
watchManager := watcher.New(formulaBuilder, dirManager)
buildFormulaCmd := cmd.NewBuildFormulaCmd(userHomeDir, formulaWorkspace, formulaBuilder, watchManager, dirManager, inputText, inputList)

autocompleteCmd.AddCommand(autocompleteZsh, autocompleteBash)
addCmd.AddCommand(addRepoCmd)
Expand All @@ -133,6 +145,7 @@ func buildCommands() *cobra.Command {
setCmd.AddCommand(setCredentialCmd, setCtxCmd)
showCmd.AddCommand(showCtxCmd)
updateCmd.AddCommand(updateRepoCmd)
buildCmd.AddCommand(buildFormulaCmd)

formulaCmd := cmd.NewFormulaCommand(api.SingleCoreCmds, treeManager, defaultRunner, dockerRunner)
if err := formulaCmd.Add(rootCmd); err != nil {
Expand All @@ -153,6 +166,7 @@ func buildCommands() *cobra.Command {
setCmd,
showCmd,
updateCmd,
buildCmd,
upgradeCmd,
},
},
Expand Down
19 changes: 17 additions & 2 deletions cmd/team/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@ import (
"os"
"time"

"github.com/ZupIT/ritchie-cli/pkg/formula/builder"

"k8s.io/kubectl/pkg/util/templates"

"github.com/ZupIT/ritchie-cli/pkg/upgrade"
"github.com/ZupIT/ritchie-cli/pkg/version"

"github.com/spf13/cobra"

"github.com/ZupIT/ritchie-cli/pkg/formula/watcher"
"github.com/ZupIT/ritchie-cli/pkg/prompt"
"github.com/ZupIT/ritchie-cli/pkg/server"
"github.com/ZupIT/ritchie-cli/pkg/stream"

"github.com/ZupIT/ritchie-cli/pkg/api"
"github.com/ZupIT/ritchie-cli/pkg/autocomplete"
"github.com/ZupIT/ritchie-cli/pkg/cmd"
Expand All @@ -21,11 +28,10 @@ import (
"github.com/ZupIT/ritchie-cli/pkg/env/envcredential"
"github.com/ZupIT/ritchie-cli/pkg/file/fileutil"
"github.com/ZupIT/ritchie-cli/pkg/formula"
fworkspace "github.com/ZupIT/ritchie-cli/pkg/formula/workspace"
"github.com/ZupIT/ritchie-cli/pkg/metrics"
"github.com/ZupIT/ritchie-cli/pkg/prompt"
"github.com/ZupIT/ritchie-cli/pkg/rcontext"
"github.com/ZupIT/ritchie-cli/pkg/security/secteam"
"github.com/ZupIT/ritchie-cli/pkg/server"
"github.com/ZupIT/ritchie-cli/pkg/session"
"github.com/ZupIT/ritchie-cli/pkg/session/sessteam"
"github.com/ZupIT/ritchie-cli/pkg/workspace"
Expand Down Expand Up @@ -115,6 +121,7 @@ func buildCommands() *cobra.Command {
setCmd := cmd.NewSetCmd()
showCmd := cmd.NewShowCmd()
updateCmd := cmd.NewUpdateCmd()
buildCmd := cmd.NewBuildCmd()
upgradeCmd := cmd.NewUpgradeCmd(upgradeUrl, upgradeManager)

// level 2
Expand All @@ -136,6 +143,12 @@ func buildCommands() *cobra.Command {
autocompleteZsh := cmd.NewAutocompleteZsh(autocompleteGen)
autocompleteBash := cmd.NewAutocompleteBash(autocompleteGen)
createFormulaCmd := cmd.NewCreateFormulaCmd(formulaCreator, inputText, inputList, inputBool)
fileManager := stream.NewFileManager()
dirManager := stream.NewDirManager(fileManager)
formulaWorkspace := fworkspace.New(ritchieHomeDir, fileManager)
formulaBuilder := builder.New(ritchieHomeDir, dirManager, fileManager)
watchManager := watcher.New(formulaBuilder, dirManager)
buildFormulaCmd := cmd.NewBuildFormulaCmd(userHomeDir, formulaWorkspace, formulaBuilder, watchManager, dirManager, inputText, inputList)

autocompleteCmd.AddCommand(autocompleteZsh, autocompleteBash)
addCmd.AddCommand(addRepoCmd)
Expand All @@ -146,6 +159,7 @@ func buildCommands() *cobra.Command {
setCmd.AddCommand(setCredentialCmd, setCtxCmd)
showCmd.AddCommand(showCtxCmd)
updateCmd.AddCommand(updateRepoCmd)
buildCmd.AddCommand(buildFormulaCmd)

formulaCmd := cmd.NewFormulaCommand(api.TeamCoreCmds, treeManager, defaultRunner, dockerRunner)
if err := formulaCmd.Add(rootCmd); err != nil {
Expand All @@ -167,6 +181,7 @@ func buildCommands() *cobra.Command {
logoutCmd,
setCmd,
showCmd,
buildCmd,
updateCmd,
upgradeCmd,
},
Expand Down
12 changes: 3 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,18 @@ module github.com/ZupIT/ritchie-cli
go 1.14

require (
github.com/coreos/go-oidc v2.2.1+incompatible
github.com/denisbrodbeck/machineid v1.0.1
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/fatih/color v1.9.0 // indirect
github.com/gofrs/flock v0.7.1
github.com/google/uuid v1.1.1
github.com/gosuri/uitable v0.0.4
github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf
github.com/kaduartur/go-cli-spinner v1.0.0
github.com/manifoldco/promptui v0.7.0
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/onsi/ginkgo v1.11.0
github.com/onsi/gomega v1.7.0
github.com/pkg/errors v0.9.1
github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35 // indirect
github.com/radovskyb/watcher v1.0.7
github.com/spf13/cobra v1.0.0
github.com/thoas/go-funk v0.6.0
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b // indirect
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
gopkg.in/square/go-jose.v2 v2.5.0 // indirect
k8s.io/kubectl v0.18.2
k8s.io/kubectl v0.18.4 // indirect
)
4 changes: 3 additions & 1 deletion pkg/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,16 @@ var (
{Parent: "root_update", Usage: "repo"},
{Parent: "root", Usage: "clean"},
{Parent: "root_clean", Usage: "repo"},
{Parent: "root", Usage: "build"},
{Parent: "root_build", Usage: "formula"},
}

SingleCoreCmds = CoreCmds

TeamCoreCmds = append(
CoreCmds,
[]Command{
//temporarily removed {Parent: "root_create", Usage: "user"},
// temporarily removed {Parent: "root_create", Usage: "user"},
{Parent: "root_delete", Usage: "user"},
{Parent: "root", Usage: "login"},
{Parent: "root", Usage: "logout"},
Expand Down
11 changes: 11 additions & 0 deletions pkg/cmd/build.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package cmd

import "github.com/spf13/cobra"

func NewBuildCmd() *cobra.Command {
return &cobra.Command{
Use: "build SUB_COMMAND",
Short: "This is a root command, needs a sub command",
Long: `This is a root command, to use it, add a sub command. For example, rit build formula.`,
}
}
Loading