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

feat(generate): implement UI for ng generate #75

Open
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

sumitparakh
Copy link
Member

@sumitparakh sumitparakh commented Nov 26, 2018

ng generate implementation

  • Component
  • Service Worker
  • Application
  • Class
  • Directive
  • Enums
  • Guards
  • Interfaces
  • Modules
  • Pipes
  • Services
  • Universals
  • App shells
  • Library

Closes #5


subscribeToNgCreate() {
this.cliService.onNgCreate.subscribe((data: Subject<CommandResult>) => {
data.subscribe((response: any) => {
Copy link
Member

Choose a reason for hiding this comment

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

you can try and use a flatMap here, to avoid the double subscription.

Copy link
Member Author

@sumitparakh sumitparakh Dec 9, 2018

Choose a reason for hiding this comment

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

@manekinekko Added. And multiple component generate feature is also added.

@@ -1,8 +1,11 @@
import { Component, ViewChild } from '@angular/core';
import { FormGroup, FormControl, Validators } from '@angular/forms';
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed unused imports.

@@ -1,7 +1,5 @@
import { FlagsComponent } from './../flags/flags.component';
import { CliService } from './../cli.service';
import { Validators } from '@angular/forms';
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed unused imports

@ghost
Copy link

ghost commented Dec 16, 2018

There were the following issues with this Pull Request

  • Commit: e9d202c
    • ✖ message may not be empty
    • ✖ type may not be empty

You may need to change the commit messages to comply with the repository contributing guidelines.


🤖 This comment was generated by commitlint[bot]. Please report issues here.

Happy coding!

@manekinekko
Copy link
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants