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

Add command that uses an input parameter #211

Closed
jphickey opened this issue Nov 1, 2023 · 0 comments · Fixed by #212
Closed

Add command that uses an input parameter #211

jphickey opened this issue Nov 1, 2023 · 0 comments · Fixed by #212
Assignees
Labels
enhancement New feature or request

Comments

@jphickey
Copy link
Contributor

jphickey commented Nov 1, 2023

Is your feature request related to a problem? Please describe.
In the sample app, there is no example of a command that uses parameters.

Aside from noop/reset there is currently just one command and it displays the information from a table. This is fine for a table example, but it would be helpful to see an example for a command that has input parameters.

Describe the solution you'd like
Add a command that accepts a string and a numeric input and displays them.

Additional context
The intent is to demonstrate how this should be implemented and serve as a basis for users to hook in real functionality.

Requester Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey self-assigned this Nov 1, 2023
@jphickey jphickey added the enhancement New feature or request label Nov 1, 2023
dzbaker added a commit that referenced this issue Nov 13, 2023
Fix #210, Fix #211, bring sample_app fully into compliance
jphickey added a commit to jphickey/sample_app that referenced this issue Apr 15, 2024
The display value command shows an example of how to pass in and use a
parameter with a command.  3 types are illustrated; a signed and
unsigned int, and a string.
jphickey added a commit to jphickey/sample_app that referenced this issue Apr 15, 2024
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

Successfully merging a pull request may close this issue.

1 participant