Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/cliPublic

chore: Command Configs#8776

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
reggi wants to merge12 commits intolatest
base:latest
Choose a base branch
Loading
fromreggi/cmd-config
Draft

chore: Command Configs#8776

reggi wants to merge12 commits intolatestfromreggi/cmd-config

Conversation

@reggi
Copy link
Contributor

@reggireggi commentedNov 24, 2025
edited
Loading

This PR allows commands to have their own distinct flags. Currently flags are defined globally. It makes it difficult to properly define flags for a given command. To work around this the CLI has often prefixed flags like--init-name rather than just--name, resulting in verbose and longer flags. In addition to this we should also add the ability for a given flag to NOT look at the.npmrc file(s) for adefinition (config) and allow for only--flag for some, more sensitive options. This also means we should find a way within theini structure to properly namespace flags like theinit ones.

Test pass but coverage is not filled.

@reggireggi requested a review froma team as acode ownerNovember 24, 2025 14:21
@reggireggi marked this pull request as draftNovember 24, 2025 14:31
}

if(where!=='default'||key==='npm-version'){
this.checkUnknown(where,key,false)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Why even call this if we don't want it to do anything?

@reggireggi changed the titleCommand Configschore: Command ConfigsNov 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wraithgarwraithgarwraithgar left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@reggi@wraithgar

[8]ページ先頭

©2009-2025 Movatter.jp