Skip to content

Commit 4627ee6

Browse files
grubmeshiclaude
andcommitted
docs: write meshstack login rather than meshstack auth login
Both commands work, and the docs of the CLI, the Terraform provider and meshStack now name the shorter one throughout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 86c6d1c commit 4627ee6

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ looks stale.
3333

3434
## Naming
3535

36-
- **`meshstack`** — the binary, so every invocation reads `meshstack auth login`.
36+
- **`meshstack`** — the binary, so every invocation reads `meshstack login`.
3737
- **meshStack CLI** — the product name, used in prose and docs.
3838
- `github.com/meshcloud/meshstack-cli` — the repository and Go module.
3939

‎client/workspace.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type MeshWorkspaceListFilter struct {
3838

3939
type MeshWorkspaceClient interface {
4040
// List returns every workspace the credential can see. An unscoped user token reaches this and
41-
// almost nothing else, which is why `meshstack auth login` prompts for a workspace from it.
41+
// almost nothing else, which is why `meshstack login` prompts for a workspace from it.
4242
List(ctx context.Context) ([]MeshWorkspace, error)
4343
Read(ctx context.Context, name string) (*MeshWorkspace, error)
4444
Create(ctx context.Context, workspace *MeshWorkspaceCreate) (*MeshWorkspace, error)

‎cmd/profile/profile.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func New() *cobra.Command {
1414
cmd := &cobra.Command{
1515
Use: "profile",
1616
Short: "Manage the stored profiles",
17-
Long: `Manage the profiles that meshstack auth login stores, each an endpoint with its credential and
17+
Long: `Manage the profiles that meshstack login stores, each an endpoint with its credential and
1818
default workspace.
1919
2020
On a terminal, this lists the profiles to add, edit, delete, or make the current one. Elsewhere it

‎internal/profile/name.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ var NameSetting = setting.Setting[Name]{
1818
Long: func(envKey string) string {
1919
return fmt.Sprintf("The profile whose credentials and defaults this run uses, also read from `%s`.\n\n"+
2020
"A profile is a named bundle of endpoint and credential, written by "+
21-
"`meshstack auth login` into the meshStack CLI's configuration directory. It supplies each of those "+
21+
"`meshstack login` into the meshStack CLI's configuration directory. It supplies each of those "+
2222
"only where nothing above it did, so it is never an override.\n\n"+
2323
"With no name given, the profile is the one whose endpoint matches the endpoint in use, else the one "+
24-
"the last `meshstack auth login` selected, else `default`.", envKey)
24+
"the last `meshstack login` selected, else `default`.", envKey)
2525
},
2626
Default: setting.StaticDefault("default"),
2727
Parse: setting.ParseTextUnmarshaler[Name],

0 commit comments

Comments
 (0)