You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm imagining what a command-line framework would like around our patterns. If this were backed by a GUI I would not complain!
The goal would be to aid anyone building their own interfaces and to help speed-up initialization of new view, component, module, or endpoint files. Here's what creating a new view could look like.
$ fp create
What would you like to create?> → View
> Component
> Module
> Github pages endpoint
> CCC proxied endpoint
What is the name of the new view?> TestListView
What components will this view use?> → List, Row, Detail
> ...
> Custom
Is the detail view native-based or webview-based?> → Native-based
> Webview-based
Would you like to add a searchbar to the list?> → Yes
> No
Will this view use redux?> Yes
> → No
If you have a data sourcein mind, would you like us to try and parse it now?> → Yes
> No
Okay, what is the url?> https://somewhere.edu/some/wp-json/v2/pages/123
Creating boilerplate...
✔ Parsed the JSON shape...
✔ Set up type definitions...
✔ Created list...
✔ Created row...
✔ Created detail...
✔ Created index...
✔ Set up useTestList data fetching...
✔ Added to the top-level views...
✔ Added to the navigation types...
✔ Added to the navigation routes...
Done! Executed in 5.01 secs.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm imagining what a command-line framework would like around our patterns. If this were backed by a GUI I would not complain!
The goal would be to aid anyone building their own interfaces and to help speed-up initialization of new view, component, module, or endpoint files. Here's what creating a new view could look like.
Beta Was this translation helpful? Give feedback.
All reactions