@mtyk/dev v0.1.6
Everything is an action
Some actions are easily reversable, can be time travelled.
Others are one-way
State can always be created from the beginning
Any "action-ish" part of an app, backend or frontend should be abstracted into an action that can be re-run at any time
Auth support, only run certain commaif authorised
Mongoose/File
Errors
When errors come through, we can automatically find relevant search results or suggest a solution.
Currently running
Show all processes that are currently running
Plugins
- Mongo plugin, watches mongo queries/inserts/updates and converts into actions
Ideally we want to save to a file so that we can store actions inside a repository ready to use by whoever uses it. Maybe mongoose isn't the right choice, but a giant json file is also not very fun. JUST USE JSON FOR NOW
-- Saved actions (CompoundAction) -- Name -- Actions: BaseActionspec[]
@mtyk/dev-client fetches mongoose actions @mtyk/dev-server has a basic web interface, just use nextjs? -- show current recorded actions -- edit recorded actions, remove steps, playback etc -- save
CLI
dev = yarn exec @mtyk/dev
dev list dev find
dev action Will search for action and run if possible, otherwise find nearby names. Similar to yarn run
dev record
dev stop Will prompt for a name to save
Saves to project-folder/.mtyk/dev/actions.json