apigee / apigee/apigeetool-node

Parameterize 'access' value in createproduct function

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
91
Forks
91
PR merge metrics
No merged PRs in 30d

Description

The access value 'public' seems to be hardcoded in the createproduct function. Could we parameterize it to accept 'internal', 'private' and 'public'.

https://github.com/apigee/apigeetool-node/blob/ca4f6b6035fc213c7d43eec29fc0cc5bf2e90c80/lib/commands/createproduct.js#L68

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with lib/commands/createproduct.js at the linked line and trace how createproduct receives its options. Confirm how the access value is currently set and identify the existing command or argument path that should supply it. Done means createproduct accepts internal, private, and public access values instead of always using public.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.