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(cli): setup yargs for cli #42

Merged
merged 15 commits into from
Sep 8, 2023
Merged

feat(cli): setup yargs for cli #42

merged 15 commits into from
Sep 8, 2023

Conversation

BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Sep 7, 2023

This PR includes:

  • yargs setup
  • chalk usage
  • test cli-e2e
  • update plugins to new model structure
  • test plugins

closes #6
closes #38

BioPhoton and others added 4 commits September 7, 2023 11:19
Closes #32

This PR focuses on the CLI independent logic for the collect command.

It includes:
- source code + JsDocs
- unit tests
- test helper
- mock data
- adoptions for libs (make them buildable)

---------

Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
# Conflicts:
#	package-lock.json
#	packages/models/src/lib/core-config.ts
#	packages/models/src/lib/plugin-config.ts
#	packages/utils/package.json
#	packages/utils/src/lib/collect/implementation/execute-plugin.ts
packages/cli/src/lib/commands.ts Show resolved Hide resolved
packages/cli/src/lib/cli.spec.ts Show resolved Hide resolved
packages/cli/src/lib/cli.spec.ts Outdated Show resolved Hide resolved
packages/cli/package.json Outdated Show resolved Hide resolved
packages/cli/src/index.ts Outdated Show resolved Hide resolved
packages/cli/src/lib/options.ts Outdated Show resolved Hide resolved
packages/models/src/lib/category-config.ts Outdated Show resolved Hide resolved
packages/models/src/lib/plugin-config.ts Outdated Show resolved Hide resolved
packages/models/src/lib/plugin-config.ts Outdated Show resolved Hide resolved
packages/models/src/lib/plugin-config.ts Outdated Show resolved Hide resolved
Co-authored-by: Matěj Chalk <34691111+matejchalk@users.noreply.github.com>
vmasek
vmasek previously approved these changes Sep 8, 2023
packages/cli/src/lib/cli.spec.ts Outdated Show resolved Hide resolved
matejchalk
matejchalk previously approved these changes Sep 8, 2023
@matejchalk matejchalk merged commit 37ea0a5 into main Sep 8, 2023
6 checks passed
@matejchalk matejchalk deleted the setup-yargs-for-cli branch September 8, 2023 14:51
@BioPhoton BioPhoton mentioned this pull request Oct 18, 2023
3 tasks
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.

Consider specifying engine in package.json Set up Yargs and basic structure
3 participants