Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions src/commands/configuration-management/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class Module extends IModule {
.option("--keysByVersion <keysByVersion...>", "Keys of packages to export by version")
.option("--withDependencies", "Include variables and dependencies", "")
.option("--unzip", "Unzip the exported file", "")
.betaOption("--gitProfile <gitProfile>", "Git profile which you want to use for the Git operations")
.betaOption("--gitBranch <gitBranch>", "Git branch in which you want to push the exported file")
.option("--gitProfile <gitProfile>", "Git profile which you want to use for the Git operations")
.option("--gitBranch <gitBranch>", "Git branch in which you want to push the exported file")
.action(this.batchExportPackages);

const metadataCommand = configCommand.command("metadata")
Expand All @@ -48,8 +48,8 @@ class Module extends IModule {
configCommand.command("import")
.description("Command to import package configs")
.option("--overwrite", "Flag to allow overwriting of packages")
.betaOption("--gitProfile <gitProfile>", "Git profile which you want to use for the Git operations")
.betaOption("--gitBranch <gitBranch>", "Git branch from which you want to pull the exported file and import")
.option("--gitProfile <gitProfile>", "Git profile which you want to use for the Git operations")
.option("--gitBranch <gitBranch>", "Git branch from which you want to pull the exported file and import")
.option("-f, --file <file>", "Exported packages file (relative path)")
.option("-d, --directory <directory>", "Exported packages directory (relative path)")
.action(this.batchImportPackages);
Expand Down
5 changes: 0 additions & 5 deletions src/commands/git-profile/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,22 @@ class Module extends IModule {

public register(context: Context, configurator: Configurator): void {
const gitCommand = configurator.command("git")
.beta()
.description("Commands related to Git settings");

const gitProfileCommand = gitCommand.command("profile")
.beta()
.description("Manage Git profiles required to use git-related operations.");

gitProfileCommand.command("list")
.description("Command to list all stored Git profiles")
.beta()
.action(this.listProfiles);

gitProfileCommand.command("create")
.description("Command to create a new Git profile")
.option("--setAsDefault", "Set this Git profile as default")
.beta()
.action(this.createProfile);

gitProfileCommand.command("default <profile>")
.description("Command to set a Git profile as default")
.beta()
.action(this.defaultProfile);
}

Expand Down