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

Convert tasks.js to yargs #210

Merged
merged 5 commits into from
Sep 13, 2016
Merged

Convert tasks.js to yargs #210

merged 5 commits into from
Sep 13, 2016

Conversation

ace-n
Copy link
Contributor

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

No description provided.

}
case 'delete': {
taskId = parseInt(input, 10);
console.log('Task %d updated successfully.', options.taskId);
Copy link
Contributor Author

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?

Copy link
Member

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.

}
// [END delete_entity]

// [START format_results]
Copy link
Member

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?

Copy link
Contributor Author

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.

@ace-n
Copy link
Contributor Author

ace-n commented Sep 13, 2016

@jmdobry should be good to review.

return callback(err);
}

return callback();
Copy link
Member

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);

@ace-n
Copy link
Contributor Author

ace-n commented Sep 13, 2016

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

@codecov-io
Copy link

Current coverage is 17.52% (diff: 15.38%)

No coverage report found for master at 59ae9ca.

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

@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
pattishin pushed a commit that referenced this pull request Nov 9, 2022
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
pattishin pushed a commit that referenced this pull request Nov 9, 2022
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
pattishin pushed a commit that referenced this pull request Nov 9, 2022
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
NimJay pushed a commit that referenced this pull request Nov 11, 2022
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
ace-n pushed a commit that referenced this pull request Nov 17, 2022
NimJay pushed a commit that referenced this pull request Nov 19, 2022
* updated CHANGELOG.md

* updated package.json

* updated samples/package.json
NimJay pushed a commit that referenced this pull request Nov 19, 2022
* 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants