Skip to content

Conversation

@juped
Copy link
Contributor

@juped juped commented Jun 1, 2023

Add a utility command to print the default base directory that would be
used by the Namada command line if a base directory were not provided
on the command line or in the environment.

juped added a commit that referenced this pull request Jun 1, 2023
Add a utility command to print the default base directory that would be
used by the Namada command line if a base directory were not provided
on the command line or in the environment.
juped added a commit that referenced this pull request Jun 1, 2023
@juped juped force-pushed the ray/utils-base-dir branch from 2d01f8b to f9c33b3 Compare June 1, 2023 16:09
@juped juped force-pushed the ray/utils-base-dir branch from f9c33b3 to b49e5f8 Compare June 1, 2023 16:11
println!(
"{}",
get_default_namada_folder().to_str().expect(
"expected a default namada folder to be possible to determine"
Copy link

@gijswijs gijswijs Jun 2, 2023

Choose a reason for hiding this comment

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

<pedantic>Error message is a bit cryptic</pedantic>

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah +1 I'd like to see something else

Copy link

@gijswijs gijswijs left a comment

Choose a reason for hiding this comment

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

In theory we should have a unit test even for small features like this.

Fraccaman added a commit that referenced this pull request Jun 9, 2023
* origin/ray/utils-base-dir:
  changelog: add #1491
  apps: add namadac utils default-base-dir
@Fraccaman Fraccaman mentioned this pull request Jun 9, 2023
Fraccaman added a commit that referenced this pull request Jun 14, 2023
* origin/ray/utils-base-dir:
  changelog: add #1491
  apps: add namadac utils default-base-dir
Fraccaman pushed a commit that referenced this pull request Jun 14, 2023
@Fraccaman Fraccaman merged commit f40c1bc into main Jun 14, 2023
@Fraccaman Fraccaman deleted the ray/utils-base-dir branch June 14, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants