-
Notifications
You must be signed in to change notification settings - Fork 182
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
Rename snforge init
to snforge new
#2645
Comments
snforge init
to sncast new
snforge init
to snforge new
hello @cptartur Can i please be assigned this issue I will make the desired adjustments to rename the snforge init command as snforge new in a backwards-compatible manner. Here's how I plan to do it: First, I will add the new snforge new command, which provides the same functionality as the current init command |
@cptartur |
<!-- Reference any GitHub issues resolved by this PR --> Closes #2645 ## Introduced changes <!-- A brief description of the changes --> - `snforge new` command, which allows specifying the name of the package and the path where it should be created - Deprecation warning to the `snforge init` command Docs and changelog will be updated in a separate PR. ## Checklist <!-- Make sure all of these are complete --> - [X] Linked relevant issue - [X] Updated relevant documentation - [X] Added relevant tests - [X] Performed self-review of the code - [X] Added changes to `CHANGELOG.md` --------- Co-authored-by: Artur Michałek <[email protected]>
snforge init
behaves likesnforge new
- it creates a new directory instead of initializing an already existing one.It should be renamed to
snforge new
.This should be done in a non-breaking manner: Deprecated
snforge init
while addingnew
and only removeinit
after some time has passed since deprecation.In the scope of this issue ensure that
scarb init
andscarb new
works correctly when choosing the snforge test runner. Currently there is a problem with creating a new project when current working directory name is different than the provided name with the--name
flag. Please see software-mansion/scarb#1759 for reference.The text was updated successfully, but these errors were encountered: