We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The documentation at URL states that private repositories can be downloaded using:
npm init adonisjs@latest -- -K="user/repo" --mode=git
The --mode=git flag is not recognized by the CLI, resulting in:
--mode=git
According to the CLI help (npm init adonisjs@latest -- --help), the correct way to handle private repositories is to use the -t, --token flag
npm init adonisjs@latest -- --help
-t, --token
npm init adonisjs@latest -- -K="organization/repo" -t="github_token"
The documentation should be updated to:
This issue affects users trying to set up new AdonisJS projects from private repositories, especially those hosted in organizations.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Documentation Inconsistency: Starter Kit Git Mode Flag
Current Documentation
The documentation at URL states that private repositories can be downloaded using:
npm init adonisjs@latest -- -K="user/repo" --mode=git
Actual Behavior
The
--mode=git
flag is not recognized by the CLI, resulting in:Expected Behavior
According to the CLI help (
npm init adonisjs@latest -- --help
), the correct way to handle private repositories is to use the-t, --token
flagnpm init adonisjs@latest -- -K="organization/repo" -t="github_token"
Proposed Documentation Update
The documentation should be updated to:
--mode=git
reference-t, --token
flag for private repositoriesAdditional Context
This issue affects users trying to set up new AdonisJS projects from private repositories, especially those hosted in organizations.
The text was updated successfully, but these errors were encountered: