vmware-tanzu / tanzu-cli

The Tanzu Core CLI project provides the core functionality of the Tanzu CLI. The CLI is based on a plugin architecture where CLI command functionality can be delivered through independently developed plugin binaries
Apache License 2.0
33 stars 21 forks source link

Should `tanzu init` be deprecated? #159

Open marckhouzam opened 1 year ago

marckhouzam commented 1 year ago

Bug description

When the global.context-aware-cli-for-plugins feature is enabled, which is now the default, tanzu init does the same thing as tanzu plugin sync (except for an update of the catalogue cache).

If tanzu init is no longer useful we should deprecate it and then remove it to simplify the UX for users.

Affected product area (please put an X in all that apply)

Expected behavior

tanzu init is deprecated, then hidden, then possibly removed.

Steps to reproduce the bug

Version (include the SHA if the version is not obvious)

Today's main: 142aa6f9

Environment where the bug was observed (cloud, OS, etc)

Locally

vuil commented 1 year ago

Thanks @marckhouzam I would agree with the assessment. At one point tanzu init was also a source of inconsistency between the upstream builds of CLI (that auto runs it) and various products that explicitly suppresses it. the tanzu plugin commands should be the designated means for doing plugin LCM.