Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty args don’t show --help, and a couple of minor tweaks after "CLI bootstrap" #133

Closed
michalrus opened this issue Jan 28, 2025 · 2 comments
Assignees

Comments

@michalrus
Copy link
Member

michalrus commented Jan 28, 2025

There’s a couple of minor issues after this:

No --help is shown for empty args list

It was there by default, and that was good UX, IMO. Now the error looks like it's more for a machine than a human:

❯ ./bin/blockfrost-platform 
Error: Server("--network must be set")

Default config location is ~/[…]/blockfrost/config.toml, better to use blockfrost-platform

E.g. on macOS:

/Users/vladimir/Library/Application Support/blockfrost/config.toml

Or on Linux:

/home/mw/.config/blockfrost/config.toml

Since blockfrost-platform is the name of the project, and our main executable, I think it would be better to keep it consistent, and name the directory blockfrost-platform as well.

@gytis-ivaskevicius gytis-ivaskevicius self-assigned this Jan 28, 2025
@gytis-ivaskevicius
Copy link
Contributor

blockfrost-platfrom feels a little much but ill change it and fix the error message

@vladimirvolek
Copy link
Member

This was fixed in #139

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

No branches or pull requests

3 participants