Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Conversation

bashbunni
Copy link
Contributor

@bashbunni bashbunni commented Jul 6, 2022

Changes:

  • add cobra command for where to get the data directory on the user's machine

Related Issues:

#151

Other:

Example output:
output

@bashbunni bashbunni added the enhancement New feature or request label Jul 6, 2022
@bashbunni bashbunni requested a review from toby July 6, 2022 21:28
@bashbunni bashbunni linked an issue Jul 6, 2022 that may be closed by this pull request
cmd/where.go Outdated
if err != nil {
return err
}
fmt.Fprint(cmd.OutOrStdout(), path)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I'd put a new line at the end of this though, so the prompt is on the next line after running charm where.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can do!

@bashbunni
Copy link
Contributor Author

Updated to include new line:
output

@toby
Copy link
Contributor

toby commented Jul 6, 2022

looks good!

@bashbunni bashbunni merged commit aabe2c8 into main Jul 7, 2022
@muesli muesli deleted the show-location branch July 7, 2022 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: show charm info location
3 participants