Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.0.57] - 2026-01-21

### Fixed
- some arguments were still using pascalCase when they were supposed to use kebab-case

## [v1.0.56] - 2026-01-20

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/projectImport.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/zeropsio/zerops-go/types/uuid"
)

const projectImportArgName = "importYamlPath"
const projectImportArgName = "import-yaml-path"

func projectImportCmd() *cmdBuilder.Cmd {
return cmdBuilder.NewCmd().
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/projectServiceImport.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/zeropsio/zerops-go/types"
)

const serviceImportArgName = "importYamlPath"
const serviceImportArgName = "import-yaml-path"

func projectServiceImportCmd() *cmdBuilder.Cmd {
return cmdBuilder.NewCmd().
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/scopeProject.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func scopeProjectCmd() *cmdBuilder.Cmd {
var err error

if len(cmdData.Args) > 0 {
project, err = repository.GetProjectById(ctx, cmdData.RestApiClient, uuid.ProjectId(cmdData.Args["projectId"][0]))
project, err = repository.GetProjectById(ctx, cmdData.RestApiClient, uuid.ProjectId(cmdData.Args["project-id"][0]))
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/serviceDeploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func serviceDeployCmd() *cmdBuilder.Cmd {
files, err := arch.FindFilesByRules(
uxBlocks,
cmdData.Params.GetString("working-dir"),
cmdData.Args["pathToFileOrDir"],
cmdData.Args["path-to-file-or-dir"],
ignorer,
)
if err != nil {
Expand Down