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

Project config parameters description #62

Closed
j3k0 opened this issue Oct 1, 2021 · 1 comment
Closed

Project config parameters description #62

j3k0 opened this issue Oct 1, 2021 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@j3k0
Copy link
Contributor

j3k0 commented Oct 1, 2021

Packages parameters are defined with an ID and a default value. A nice addition would be some text description.

Currently:

$ apm project config
apsEnvironment=development
facebookAutoInitEnabled=true

My idealized output:

$ apm project config

# Apple push notifications environment (development | production)
apsEnvironment=development

# Tell the Facebook SDK not to initialize automatically
# See https://docs.airnativeextensions.com/docs/facebookapi/core/initialise-the-extension
facebookAutoInitEnabled=true

--

In package.json this could be done like so:

{
  "parameters": [
    {
      "name": "facebookAutoInitEnabled",
      "defaultValue": "true",
      "description": "Tell the Facebook SDK not to initialize automatically\nSee https://docs.airnativeextensions.com/docs/facebookapi/core/initialise-the-extension"
    }
  ]
}

_Originally posted by @j3k0 in https://github.com/airsdk/apm/discussions/59_
@marchbold marchbold added the enhancement New feature or request label Oct 1, 2021
@marchbold marchbold added this to v1.0 in Roadmap Oct 1, 2021
@marchbold marchbold added this to the v1.0 milestone Oct 1, 2021
@marchbold
Copy link
Contributor

Should output descriptions now, but we will need to go through and add these to our packages etc.

Screen Shot 2021-10-22 at 6 41 10 pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants