-
Notifications
You must be signed in to change notification settings - Fork 12k
feat(config): ngConfig #452
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
Conversation
config.set(rawArgs[0], rawArgs[1], commandOptions.force); | ||
let config = new Config(); | ||
config.validatePath(rawArgs[0]); | ||
config.set(config.config, rawArgs[0], rawArgs[1]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you do a a=b
kinda of syntax?
Basically:
for (let arg of rawArgs) {
let [key, value] = arg.split('=', 1);
config.validatePath(key);
config.set(key, value);
}
What do you think? This way we can ng config set key[1]=value1 key[2]=value2
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, thanks. Done.
Linting and some tests are failing. |
0c3e9bb
to
8aa10ef
Compare
@Brocco thanks, I would missed that. |
it has a transitive dep on an updated tsickle that picks up a fix in source-map typings
it has a transitive dep on an updated tsickle that picks up a fix in source-map typings
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
No description provided.