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

Execute a command to initialise some stuff #29

Open
siketyan opened this issue Nov 29, 2022 · 0 comments
Open

Execute a command to initialise some stuff #29

siketyan opened this issue Nov 29, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@siketyan
Copy link
Owner

ghr clone siketyan/test --init npm

will run npm i in the repository directory after cloning.
It requires configuration before using the feature.

[initializers.npm]
cd = { cmd = "npm", args = ["i"] }
default = { cmd = "npm", args = ["ci"] }

With the configuration above, ghr will execute npm i after ghr cd, otherwise npm ci.

@siketyan siketyan self-assigned this Nov 29, 2022
@siketyan siketyan added the enhancement New feature or request label Mar 18, 2023
@siketyan siketyan added the help wanted Extra attention is needed label Apr 25, 2023
@siketyan siketyan added this to the v0.4 milestone Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Development

No branches or pull requests

1 participant