Skip to content

chore: remove deprecated `config init` command

Mikel requested to merge mikelolasagasti/glab-cli:remove-config-init into main

Description

Remove deprecated config init command. Deprecation note was added +3 years ago in cde46ed2

How has this been tested?

go test ./commands/config/ -v                                                                                                                                                        === RUN   TestConfigGet
=== RUN   TestConfigGet/get_key
=== RUN   TestConfigGet/get_key_scoped_by_host
--- PASS: TestConfigGet (0.00s)
    --- PASS: TestConfigGet/get_key (0.00s)
    --- PASS: TestConfigGet/get_key_scoped_by_host (0.00s)
=== RUN   TestConfigSet
=== RUN   TestConfigSet/set_key
=== RUN   TestConfigSet/set_key_scoped_by_host
--- PASS: TestConfigSet (0.00s)
    --- PASS: TestConfigSet/set_key (0.00s)
    --- PASS: TestConfigSet/set_key_scoped_by_host (0.00s)
PASS
ok  	gitlab.com/gitlab-org/cli/commands/config	0.008s

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation
  • Chore (Related to CI or Packaging to platforms)
  • Test gap

Merge request reports