GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Convert tasks.js to yargs by ace-n · Pull Request #210 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@ace-n

@ace-n ace-n commented Sep 12, 2016

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Ace Nassri
Add yargs to tasks.js
1f581f1
@ace-n ace-n assigned jmdobry Sep 12, 2016
Ace Nassri
[Unrelated] Fix usage instructions
f3d7e9d
ace-n
ace-n reviewed Sep 12, 2016
View reviewed changes
Comment thread datastore/tasks.js Outdated
}
case 'delete': {
taskId = parseInt(input, 10);
console.log('Task %d updated successfully.', options.taskId);

@ace-n ace-n Sep 12, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Should this logic go in the parent function (e.g. markDone) as it did in the BigQuery samples, or in the yargs handler?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@jmdobry jmdobry Sep 12, 2016

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Probably should go in the markDone function.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Ace Nassri
Fix lint
b110bc4
jmdobry
jmdobry reviewed Sep 12, 2016
View reviewed changes
Comment thread datastore/tasks.js
}
// [END delete_entity]

// [START format_results]

@jmdobry jmdobry Sep 12, 2016

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Are the docs going to continue to work with this region tag deleted?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@ace-n ace-n Sep 12, 2016

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

They should - this tag didn't come up anywhere when I did a code search.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ace-n
ace-n force-pushed the tasks-use-yargs branch from 9504fd1 to 29774f9 Compare September 12, 2016 23:39
Ace Nassri
Move logic into parent functions
29774f9
@ace-n

ace-n commented Sep 13, 2016

Copy link
Copy Markdown
Contributor Author

@jmdobry should be good to review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jmdobry
jmdobry reviewed Sep 13, 2016
View reviewed changes
Comment thread datastore/tasks.js Outdated
return callback(err);
}

return callback();

@jmdobry jmdobry Sep 13, 2016

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Add the following above this line: console.log('Task %d deleted successfully.', taskId);

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Ace Nassri
Address comments
07d2bdb
@ace-n

ace-n commented Sep 13, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Aside: this sample needs (unit) tests - but I'm assuming those will go in a separate PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codecov-io

codecov-io commented Sep 13, 2016

Copy link
Copy Markdown

Current coverage is 17.52% (diff: 15.38%)

No coverage report found for master at 59ae9ca.

Powered by Codecov. Last update 59ae9ca...07d2bdb

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jmdobry
jmdobry merged commit 97aa4fa into master Sep 13, 2016
@jmdobry
jmdobry deleted the tasks-use-yargs branch September 30, 2016 23:30
NimJay pushed a commit that referenced this pull request Nov 9, 2022
@release-please
chore: release 2.1.0 (#210)
fbbd62c
@NimJay NimJay mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-containeranalysis #2816
Closed
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@release-please
chore: release 2.4.0 (#210)
4948df5
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2818
Closed
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@release-please
chore: release 2.4.0 (#210)
8f5fe3b
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2819
Closed
pattishin pushed a commit that referenced this pull request Nov 9, 2022
@release-please
chore: release 2.4.0 (#210)
24a6f06
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
@pattishin pattishin mentioned this pull request Nov 9, 2022
migrate code from googleapis/nodejs-game-servers #2820
Closed
This was referenced Nov 11, 2022
migrate code from googleapis/nodejs-containeranalysis #2833
Closed
migrate code from googleapis/nodejs-containeranalysis #2834
Merged
migrate code from googleapis/nodejs-containeranalysis #2836
Closed
@pattishin pattishin mentioned this pull request Nov 11, 2022
migrate code from googleapis/nodejs-game-servers #2837
Merged
NimJay pushed a commit that referenced this pull request Nov 11, 2022
@release-please @NimJay
chore: release 2.4.0 (#210)
ebf5bc1
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
ace-n pushed a commit that referenced this pull request Nov 16, 2022
@nirupa-kumar @JustinBeckwith
docs(samples): streaming beta samples (#210)
01826fb
@ace-n ace-n mentioned this pull request Nov 16, 2022
migrate code from googleapis/nodejs-video-intelligence #2855
Merged
ace-n pushed a commit that referenced this pull request Nov 17, 2022
@nirupa-kumar Ace Nassri
docs(samples): streaming beta samples (#210)
96cba21
ahrarmonsur pushed a commit that referenced this pull request Nov 17, 2022
@nirupa-kumar Ahrar Monsur
docs(samples): streaming beta samples (#210)
2f641fd
NimJay pushed a commit that referenced this pull request Nov 19, 2022
@yoshi-automation @JustinBeckwith
chore: release 1.0.0 (#210)
fac83ef
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
@NimJay NimJay mentioned this pull request Nov 19, 2022
migrate code from googleapis/nodejs-dataproc #2878
Merged
NimJay pushed a commit that referenced this pull request Nov 19, 2022
@yoshi-automation @NimJay
chore: release 1.0.0 (#210)
c8d7e17
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@jmdobry jmdobry

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ace-n @codecov-io @jmdobry
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.