Skip to content

whoami fails when lmctl is initially installed #180

@dvaccarosenna

Description

@dvaccarosenna

Describe the bug
After installing LMCTL running the whoami command results in an error:

Error: Failed to load configuration - Config file could not be found at default location "/Users/dan/.lmctl/config.yaml" or from environment variable LMCONFIG

Although this is "as designed", it would better for the whoami command printed a user friendly message that explained how to initiate configuration for the first time.

To Reproduce
Steps to reproduce the behaviour:

  1. Install LMCTL (ensure no ~/.lmctl directory exists on your machine)
  2. Run lmctl whoami
  3. See error

Desktop (please complete the following information):

  • Version 3.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions