cli
cli copied to clipboard
Hanami command line
Currently the user user needs to run _pairs of commands_ every time they tend to their local database: ``` hanami db create HANAMI_ENV=test db create hanami db migrate HANAMI_ENV=test db...
`Process.fork` is only supported on *nix operating systems: https://ruby-doc.org/core-2.6.2/Process.html#method-c-fork But, spawning new processes off of the main thread is still supported using `spawn()` This fix handles `fork` not being implemented...
Tried to start developing on a windows machine and running into the following error executing: `bundle exec hanami dev`: `C:/Ruby33-x64/lib/ruby/3.3.0/open3.rb:534:in `spawn': Exec format error - bin/dev (Errno::ENOEXEC)` It look's like...
Without the file, developers are left wondering where the seed should live, and what should go in it. This guides the developer for the next step.
The component generator was created before the operation generator. It's potentially confusing to generate a component called "operation", since we have an operation generator. ~I don't think services is a...
Came to fix one thing and found a few more :) 1. Fix the docker-compose configuration: use correct port, provide the password, add a note to the readme about `docker...
We should have a `db reset` command that does drop then create then prepare (maybe can avoid the 'create' since prepare can do that too) Original: > It'd be nice...
This: ``` hanami blah -e test ``` Feels a lot nicer than this: ``` HANAMI_ENV=test hanami blah ``` Let's make it so.
Similar to `rails db:migrate:status`. But we'll have to figure out how to display/organize (combine?) any migrations in slices I'm thinking it could be called `hanami db migrations` (versus the command...