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(apply): added cli support for decorators and vocab #37

Conversation

muskanbararia
Copy link
Contributor

feat: Added support for applying decorators and vocab to a model

Closes #34

Added command for applying a list of decorators and/or vocabularies to a given model. The output can be either json or cto, depending on the args

Changes

  • Added the relevant commands and the corresponding test cases with the test data
  • Updated documentation in readme accordingly

Author Checklist

  • Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
  • Vital features and changes captured in unit and/or integration tests
  • Commits messages follow AP format
  • Extend the documentation, if necessary
  • Merging to main from fork:branchname

Muskan Bararia added 2 commits October 19, 2023 16:57
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
@muskanbararia muskanbararia requested a review from a team October 19, 2023 12:18
Copy link
Member

@mttrbrts mttrbrts left a comment

Choose a reason for hiding this comment

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

A nice PR, thanks @muskanbararia!

My comments are mostly stylistic and related to standardisation of the command line flags.

lib/commands.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/commands.js Outdated Show resolved Hide resolved
@muskanbararia muskanbararia force-pushed the muskanbararia/i34/added-cli-support-for-decorators-and-vocab branch from f5b3133 to ef8a48b Compare October 19, 2023 14:11
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
@muskanbararia muskanbararia force-pushed the muskanbararia/i34/added-cli-support-for-decorators-and-vocab branch from ef8a48b to 3976284 Compare October 19, 2023 14:12
@mttrbrts mttrbrts enabled auto-merge (squash) October 19, 2023 14:28
Copy link
Contributor

@dselman dselman left a comment

Choose a reason for hiding this comment

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

Great start!

lib/commands.js Outdated Show resolved Hide resolved
lib/commands.js Outdated Show resolved Hide resolved
lib/commands.js Outdated Show resolved Hide resolved
lib/commands.js Show resolved Hide resolved
lib/commands.js Outdated Show resolved Hide resolved
Muskan Bararia added 4 commits October 23, 2023 22:10
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
…vocab' of https://github.com/muskanbararia/concerto-cli into muskanbararia/i34/added-cli-support-for-decorators-and-vocab
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
…vocab' of https://github.com/muskanbararia/concerto-cli into muskanbararia/i34/added-cli-support-for-decorators-and-vocab
auto-merge was automatically disabled October 24, 2023 10:01

Head branch was pushed to by a user without write access

@mttrbrts mttrbrts requested a review from dselman October 24, 2023 17:02
Muskan Bararia added 2 commits October 25, 2023 18:23
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
…vocab' of https://github.com/muskanbararia/concerto-cli into muskanbararia/i34/added-cli-support-for-decorators-and-vocab
@muskanbararia
Copy link
Contributor Author

@dselman I have added the testcase for dependent models as well

Muskan Bararia added 2 commits October 27, 2023 11:12
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
…vocab' of https://github.com/muskanbararia/concerto-cli into muskanbararia/i34/added-cli-support-for-decorators-and-vocab
index.js Show resolved Hide resolved
Muskan Bararia added 3 commits November 13, 2023 15:29
…into muskanbararia/i34/added-cli-support-for-decorators-and-vocab
…into muskanbararia/i34/added-cli-support-for-decorators-and-vocab
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
@coveralls
Copy link

coveralls commented Nov 13, 2023

Pull Request Test Coverage Report for Build 6848537100

  • 36 of 36 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 6668651306: 0.0%
Covered Lines: 237
Relevant Lines: 237

💛 - Coveralls

@muskanbararia muskanbararia force-pushed the muskanbararia/i34/added-cli-support-for-decorators-and-vocab branch from 8cd89c0 to fed2a92 Compare November 13, 2023 10:07
Signed-off-by: Muskan Bararia <muskan.b@docusign.com>
@mttrbrts mttrbrts dismissed dselman’s stale review November 14, 2023 15:58

Comments addressed in subsequent commits

@mttrbrts mttrbrts merged commit 3258869 into accordproject:main Nov 14, 2023
11 checks passed
@mttrbrts mttrbrts changed the title Muskanbararia/i34/added cli support for decorators and vocab feat(apply): added cli support for decorators and vocab Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for applying decorator set with CLI commands on a data-model
4 participants