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

Make fh init take a language option. #74

Open
vic opened this issue Oct 25, 2023 · 1 comment
Open

Make fh init take a language option. #74

vic opened this issue Oct 25, 2023 · 1 comment

Comments

@vic
Copy link

vic commented Oct 25, 2023

It would be nice if fh init could take some CLI option like --lang rust (or any other supported handler) because people will tend to initialize a flake on an empty directory.

For a rust project, I created a directory and had to touch an empty Cargo.toml before running fh init -- and wont even have cargo on my PATH until the flake is ready.

What do you think? I'd love to contribute this.

@lucperkins
Copy link
Member

@vic I'm definitely intrigued by this idea! And I think it'd be reasonably straightforward to pull it off. I'll experiment a bit and see what I come up with 😄

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

2 participants