Skip to content

Integrate cupid in the CLI #47

Closed
Closed

Description

@arjungarg07

We are going to integrate app-relations-discovery functionalities into asyncapi cli which would allow users to access all the features of the library and get more work done from the terminal.

Activity

  1. added
    enhancement
    on Aug 12, 2021
  2. github-actions commented on Aug 12, 2021

    @github-actions
    Contributor

    Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.

    Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

  3. derberg commented on Aug 12, 2021

    @derberg
    Member

    @arjungarg07 you definitely need to provide a description mate 😆

    I know you mean asyncapi relations but others need to know more and also the capabilities we need to take into account

  4. arjungarg07 commented on Aug 16, 2021

    @arjungarg07
    Author

    @derberg My proposition for commands usage:

    asyncapi relations --files {FILES_PATH} --plantUml  // For plantUML classDiagram syntax
    asyncapi relations --files {FILES_PATH} --mermaid  // For mermaid flowchart syntax
    asyncapi relations --files {FILES_PATH} --reactFlow  // For reactFlow nodes syntax
    

    Users will provide the no. of file paths for which she wants to get the relations of in {FILES_PATH}

  5. derberg commented on Aug 17, 2021

    @derberg
    Member

    I think we can start with relations as we can refactor name easily. you might want to share your thoughts here #37 . Just keep in mind we need to support --files and --contexts too. As for the types of outputs we need --type imho, so you have asyncapi relations --files {FILES_PATH} --type plantUML, and when you do asyncapi relations --files {FILES_PATH} you get default

    Thoughts?

  6. arjungarg07 commented on Aug 17, 2021

    @arjungarg07
    Author

    Just keep in mind we need to support --files and --contexts too.

    What role will the --contexts play here, I think relations command would be standalone and would not be affected by contexts 🤔

    As for the types of outputs we need --type imho, so you have asyncapi relations --files {FILES_PATH} --type plantUML, and when you do asyncapi relations --files {FILES_PATH} you get default

    Yeah, we can move forward with this 👍🏽

  7. derberg commented on Aug 17, 2021

    @derberg
    Member

    context is like a file reference, so you do not need to remember the file path

    so you can create a number of contexts, called file1, file2, file3 so you can do asyncapi validate --context file1, so you should also be able to do asyncapi relations --contexts file1, file2, file3

    imagine you are working on this project https://github.com/amadeus4dev/amadeus-async-flight-status. You work with it every day, you have 2 different AsyncAPI files there, would you like to pass filepath every single time?

  8. arjungarg07 commented on Aug 17, 2021

    @arjungarg07
    Author

    Got it! Super cool, so we have to support --files and --contexts too.

  9. changed the title [-]feat: Integrate `app-relations-discovery` in the CLI[/-] [+]Integrate `app-relations-discovery` in the CLI[/+] on Aug 17, 2021
  10. derberg commented on Aug 23, 2021

    @derberg
    Member

    would be cool that once we render in terminal the marmaid and plantuml outputs, we also render a clickable URL, so user can open it up in respective editors. That would be nifty. Also explore available Ink components, maybe there is one already that can nicely display code snippets, would be useful for the output.

  11. Souvikns commented on Aug 23, 2021

    @Souvikns
    Member
  12. arjungarg07 commented on Nov 11, 2021

    @arjungarg07
    Author

    Since the migration to Oclif is completed, I have started working on this.

  13. Souvikns commented on Nov 11, 2021

    @Souvikns
    Member

    Yeah sure go ahead, let me know if you need any help.

  14. changed the title [-]Integrate `app-relations-discovery` in the CLI[/-] [+]Integrate `cupid in the CLI[/+] on Nov 22, 2021
  15. changed the title [-]Integrate `cupid in the CLI[/-] [+]Integrate `cupid` in the CLI[/+] on Nov 22, 2021
  16. 5 remaining items

  17. github-actions commented on Oct 6, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  18. derberg commented on Oct 11, 2022

    @derberg
    Member

    @arjungarg07 generate fromTemplate is there, so you can add cupid now 😉

  19. arjungarg07 commented on Oct 26, 2022

    @arjungarg07
    Author

    Sure, would be integrating it soon.

  20. github-actions commented on Feb 24, 2023

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  21. derberg commented on Apr 3, 2023

    @derberg
    Member

    wip #143

  22. github-actions commented on Aug 2, 2023

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity 😴

    It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

    There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

    Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

    Thank you for your patience ❤️

  23. derberg commented on Oct 25, 2023

    @derberg
    Member

    closing as there is no activity for very long

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions