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

Implement #140 and #169 #170

Merged

Conversation

WcaleNieWolny
Copy link
Contributor

The new commands are:

node ~/dev/CLI/dist/index.js bundle current production --quiet
node ~/dev/CLI/dist/index.js bundle current production
node ~/dev/CLI/dist/index.js channel set production --disable-auto-update major

As for tests: If needed I can implement them later. @riderx let me know if you want tests for this.
Also my changes do not break any existing command. I checked, they are backward compatible

Here is a showcase of my changes:
image
image
image

/claim #140
/claim #169

src/index.ts Outdated
@@ -138,6 +139,14 @@ bundle
.action(listBundle)
.option('-a, --apikey <apikey>', 'apikey to link to your account');

bundle
.command('current [channel]')
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since we get the bundle of a channel, I would maybe add this command to channel instead

@riderx
Copy link
Collaborator

riderx commented Oct 12, 2023

i believe a branch a bounty is better even for review.
Right now the new command need change but not the new option so we could have merge half already

@sonarcloud
Copy link

sonarcloud bot commented Oct 12, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@riderx riderx merged commit 812b962 into Cap-go:main Oct 12, 2023
3 checks passed
@riderx
Copy link
Collaborator

riderx commented Oct 12, 2023

/approve 140

@algora-pbc
Copy link

algora-pbc bot commented Oct 12, 2023

@riderx: The claim has been successfully added to reward-all. You can visit your dashboard to complete the payment.

@riderx
Copy link
Collaborator

riderx commented Oct 12, 2023

/approve 169

@algora-pbc
Copy link

algora-pbc bot commented Oct 12, 2023

@riderx: The claim has been successfully added to reward-all. You can visit your dashboard to complete the payment.

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.

Allow set Disable auto update from CLI Feature request: Get channel active bundle from CLI
2 participants