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

package_name argument on nargo new is ignored #2132

Closed
TomAFrench opened this issue Aug 2, 2023 · 1 comment · Fixed by #2144
Closed

package_name argument on nargo new is ignored #2132

TomAFrench opened this issue Aug 2, 2023 · 1 comment · Fixed by #2144
Assignees
Labels
bug Something isn't working

Comments

@TomAFrench
Copy link
Member

TomAFrench commented Aug 2, 2023

Aim

I should be able to set the name of a new package independently of it's path.

Expected Behavior

nargo new ./foo bar should create a new package with the name bar in directory foo.

Bug

bar is ignored and the new package has the name foo.

@TomAFrench TomAFrench added the bug Something isn't working label Aug 2, 2023
@TomAFrench
Copy link
Member Author

We should also change this to be an optional flag rather than a positional argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant