nasa / fprime-tools

F´ Python tooling and helpers.
https://github.com/nasa/fprime
Apache License 2.0
20 stars 38 forks source link

Update cookiecutter prompts #151

Closed thomas-bc closed 1 year ago

thomas-bc commented 1 year ago
Originating Project/Creator
Affected Component
Affected Architectures(s)
Related Issue(s)
Has Unit Tests (y/n)
Builds Without Errors (y/n)
Unit Tests Pass (y/n)
Documentation Included (y/n)

Change Description

Fixes https://github.com/nasa/fprime/issues/2130

Rationale

More human readable prompts. The feature was just released for cookiecutter - see issue above.

Example output:

$ fprime-util new --component
Component name [MyComponent]:
Component short description [Component for F Prime FSW framework.]:
Component namespace [Components]:
Select component kind:
1 - active
2 - passive
3 - queued
Choose from 1, 2, 3 [1]:
Enable Commands?:
1 - yes
2 - no
Choose from 1, 2 [1]:
Enable Telemetry?:
1 - yes
2 - no
Choose from 1, 2 [1]:
Enable Events?:
1 - yes
2 - no
Choose from 1, 2 [1]:
Enable Parameters?:
1 - yes
2 - no

Future work

Update tutorials - I'm on it, opening PRs there in a sec

thomas-bc commented 1 year ago

Please merge the following after releasing this for v3.3.0